10 years ago.

Problem sending code to uvision

I have tried the sample LED program in mbed and all works ok. When I send to uVision I get the following messages when I try to compile. I am new to this so the answer may be obvious - but I am trying to learn!! :-)

* Using Compiler 'V5.06 (build 20)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Build target 'mbed NUCLEO_F091RC' linking... .\build\Nucleo_blink_led1.axf: error: L6002U: Could not open file mbed/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_MICRO/s: No such file or directory Finished: 0 information, 0 warning, 0 error and 1 fatal error messages. ".\build\Nucleo_blink_led1.axf" - 1 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:01

1 Answer

10 years ago.

Hi Mark,

I wasn't able to reproduce your error. Maybe starting fresh will help?

Reimport the blinky program from here: https://developer.mbed.org/teams/mbed/code/mbed_blinky/

Be sure to set your target in the top right of the online IDE, then right click your project and export for Keil uVision 4.

When you open it up in uVision, you should be able to build it. If you're using uVision 5 I think you'll have to install legacy support for uVision 4 projects. You can download that here if you haven't already done so: http://www2.keil.com/mdk5/legacy/

Hope that helps,

Brian

thanks for replying - I managed to fix this with a another post on here. I had to go to Misc Controls in the Linker senttings and tidy that up to remove all spaces. It seems to have fixed it anyway!

posted by Mark Evans 24 Nov 2015

Could you give me the link to that post? This might be something we should fix in the library.

Thanks, Brian

posted by Brian Daniels 24 Nov 2015