incorrect work in conjunction with the Arduino DUE
GoogleCodeExporter opened this issue · 1 comments
GoogleCodeExporter commented
On the Arduino Leonardo is working properly.
On Arduino DUE hangs when calling | Agentuino.freePdu (& pdu); |
Just noticed that the compilation of the sketch for the DUE results in an error
while using the library "MemoryFree.h"
MemoryFree \ MemoryFree.cpp.o: In function `freeListSize () ':
% patch% \ MemoryFree / MemoryFree.cpp: 35: warning: undefined reference to
`__flp '
MemoryFree \ MemoryFree.cpp.o: In function `freeMemory ':
% patch% \ MemoryFree / MemoryFree.cpp: 47: warning: undefined reference to
`__brkval '
% patch% \ MemoryFree / MemoryFree.cpp: 47: warning: undefined reference to
`__heap_start '
Is it possible to use agentuino in conjunction with the arduino DUE platform?
Original issue reported on code.google.com by forkun...@gmail.com
on 27 Aug 2014 at 4:42
GoogleCodeExporter commented
//Agentuino.cpp
void AgentuinoClass::freePdu(SNMP_PDU *pdu)
{
//
memset(pdu->OID.data, 0, SNMP_MAX_OID_LEN);
memset(pdu->VALUE.data, 0, SNMP_MAX_VALUE_LEN);
free((char *) pdu); //<--Execution stops on this line
}
Original comment by forkun...@gmail.com
on 30 Sep 2014 at 1:11