in order to detect a memory lead, i would like to read the remaining free memory from inside my program. I tried
But it compiles, but won’t link.
Arduino: 1.8.15 (Windows Store 18.104.22.168) (Windows 10), Board: “CubeCell-Board（HTCC-AB01）, REGION_EU868, CLASS_A, CUSTOM, OTAA, ON, UNCONFIRMED, OFF, OFF, DEACTIVE, None”
WARNING: library LoRaWanMinimal claims to run on ASR650x-Arduino architecture(s) and may be incompatible with your current board which runs on CubeCell architecture(s).
libraries\MemoryFree-master\MemoryFree.cpp.o: In function `freeListSize()’:
C:\Users\jakob\Documents\Arduino\libraries\MemoryFree-master/MemoryFree.cpp:37: undefined reference to `__flp’
libraries\MemoryFree-master\MemoryFree.cpp.o: In function `freeMemory’:
C:\Users\jakob\Documents\Arduino\libraries\MemoryFree-master/MemoryFree.cpp:52: undefined reference to `__brkval’
C:\Users\jakob\Documents\Arduino\libraries\MemoryFree-master/MemoryFree.cpp:52: undefined reference to `__heap_start’
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board CubeCell-Board（HTCC-AB01）.
Is there an alternativ to do what I want von AB-01. Does it have its own system call?