10 years, 3 months ago.

LPC4088 export to code red/LPCXpresso fails ...

The exporter fails to bundle a linker response file. This is something of a showstopper - can anyone advise a work-around?

I note EA commented on a similar report some weeks ago. Is there anything holding up a fix?

Thanks.

1 Answer

10 years, 3 months ago.

Please make sure you are using the latest mbed library in your project. You can do this by clicking on the mbed library and then the Update button (Program Details part of the compiler view). The Update button is only enabled if there is a newer version available.

I tested to export to code red/LPCxpresso with the latest mbed lirbary and the TOOLCHAIN_GCC_CR folder was available in the zip file.

Andreas @ Embedded Artists

Anders,

Many thanks. I have just tried this and it does indeed contain a linker file. Sadly I am now getting a load of linker errors (below). Thoughts? Or is this now a NXP issue?

r:/apps/nxp/lpcxpresso_6.1.2_177/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/bin/ld.exe: error: Blinky4088.axf uses VFP register arguments, R:/src/chordia/Blinky4088/mbed/TARGET_LPC4088/TOOLCHAIN_GCC_CR/cmsis_nvic.o does not r:/apps/nxp/lpcxpresso_6.1.2_177/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file R:/src/chordia/Blinky4088/mbed/TARGET_LPC4088/TOOLCHAIN_GCC_CR/cmsis_nvic.o r:/apps/nxp/lpcxpresso_6.1.2_177/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/bin/ld.exe: error: Blinky4088.axf uses VFP register arguments,

BR,

Jerry

posted by G 40 02 Jan 2014

Seems like the mbed library and startup files aren't compiled with the floating point option enabled. They should be and they are in the mbed SDK. It seems as something has happened in the online compiler. I have reported a similar issue, but related to the mbed-rtos library. Until the mbed team has fixed this you can always turn off floating point option in LPCXpresso.

  1. right click on your project and select properties
  2. Go to C/C++ Build and then Settings
  3. For each Tool Setting (MCU C++ Compiler, MCU C compiler and so on) go to the target view and make sure Floating point is set to None
posted by EmbeddedArtists AB 02 Jan 2014