Hello!
Any help for this issue?
I’m stuck here and I can’t work offline.
Thanks.
Hi Leon,
When I exported the full application from the mbed online compiler, it already came with the libmbed.a as well as all the include files for mbed and mbed-rtos.
So I suppose I am using the same version as the online compiler, right?
Hi Jason,
I’ve just tried with that version of gcc (2015q2) with no success. Compiles but after *.bin is transferred to the mDot, nothing happens.
However, with the most recent gcc (2016q3), there is a linking error:
main.o: In function 'main':
main.cpp:(.text.startup.main+0x46): undefined reference to mDot::getId[abi:cxx11]()'
collect2.exe: error: ld returned 1 exit status
I’ve checked the libmDot.a with: “arm-none-eabi-nm -C -g –defined-only libmDot.a” and I got:
...
mDot.o:
...
00000000 T mDot::getId()
...
The source code that calls this function is:
logInfo("mDot library version: %s", dot->getId().c_str());
.