8 years ago.

Mbed program in keil giving errors

I exported USBMSD_SD_HelloWorld_Mbed LPC1768 code to keil uvision 4 but while compiling main.cpp it is giving following errors

.\build\USBMSD_SD_HelloWorld_Mbed.axf: Error: L6242E: Cannot link object cmsis_nvic.o as its attributes are incompatible with the image attributes. ... wchart-16 clashes with wchart-32. .\build\USBMSD_SD_HelloWorld_Mbed.axf: Error: L6242E: Cannot link object core_cm3.o as its attributes are incompatible with the image attributes. ... wchart-16 clashes with wchart-32. .\build\USBMSD_SD_HelloWorld_Mbed.axf: Error: L6242E: Cannot link object sys.o as its attributes are incompatible with the image attributes. ... wchart-16 clashes with wchart-32. .\build\USBMSD_SD_HelloWorld_Mbed.axf: Error: L6242E: Cannot link object system_LPC17xx.o as its attributes are incompatible with the image attributes. ... wchart-16 clashes with wchart-32. Not enough information to list image symbols. Not enough information to list the image map. Finished: 6 information, 0 warning and 4 error messages. ".\build\USBMSD_SD_HelloWorld_Mbed.axf" - 4 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:15

Please provide me solution

1 Answer

8 years ago.

Hi,

Can you please update the mbed library in your project and then export it again.

Accepted Answer