while I was following this tutorial https://developer.mbed.org/cookbook/eclipse-for-building-and-debugging I run on a error building the project on Eclipse (I followed all the steps untill the first build project at which point I received the following error):
../../external/mbed/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U24_401/LPC11U24.ld:50 cannot move location counter backwards (from 00000238 to 00000200) collect2: error: ld returned 1 exit status make: *** [LPC11U24/FileTest.elf] Error 1
Since ld is involved I think the problem is related to the linker but I have no clue what to do and where to look at. I'm working in Debian 32 bit and Eclipse LUNA.
我发现了问题,选择了错误的工具链:linux gcc而不是交叉gcc。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.