7 years, 8 months ago.

exporting mbed_blinky to lpcexpresso fail

this are the errors when trying to build the program exported grom the online compiler. Seems to be when linking.

c:/nxp/lpcxpresso_8.1.4_606/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: unrecognized option '-T'

c:/nxp/lpcxpresso_8.1.4_606/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: use the help option for usage information

this is the last part of the command that is used.

..LPCXpresso_8.1.4_606\workspace\mbed_blinky_copy\mbed\TARGET_LPC1768\TARGET_NXP\TARGET_LPC176X\TARGET_MBED_LPC1768" -Xlinker -Map="mbed_blinky_copy.map" -Xlinker gc-sections -mcpu=cortex-m3 -mthumb -T "" -o "mbed_blinky_copy.axf" ./main.o

any ideas? thanks

Can you try with GCC 4.9? GCC 5 is not supported.

posted by Jan Jongboom 05 Sep 2016
Be the first to answer this question.