Recent changes
Order
tag order
CMSIS RTOS
RTOS
mbed Website Releases
Help
mbed NXP LPC1768
Firmware
Homepage
From the mbed microcontroller Handbook.  

Exporting to uVision

Support

Please note, changing the compiler toolchain introduces many degrees of freedom in the system; these differences include the translation of C/C++ code to assembly code, the link time optimizations, differences because of the implementations of the C standard libraries, and differences based on compile and link options. It also makes it a lot harder to share code and questions with other developers, as the context needs to be shared too!

Whilst we support exporting your project and the libraries to an alternate toolchain, we cannot guarantee the same consistency as using the mbed Online Compiler. We will do our best to maintain the exported libraries, project file and makefiles, but please understand we can not cover all cases, combinations or provide support for use of these alternate tools themselves!

µVision is one of the external offline toolchains supported by the mbed platform.

For a complete overview of the "export" feature, please refer to our general: Exporting to offline toolchains.

To export your mbed program for use in uVision, right-click the program in your program workspace. From the dialog, you can select the "Export To" as "Keil uVision4", and the target microcontroller you wish to export for.

When you choose export, a zip file containing all the files you need for uVision will be generated. Unzip it and open the uVision project file ("project.uvproj"):

After building the project, the binary file (".bin"), ready to be flashed on the mbed, will be generated in the "build" directory.

/media/uploads/emilmont/uvision_1.png

/media/uploads/emilmont/uvision_2.png




calendar Page history
Last modified 02 Feb 2012, by   user Emilio Monti   tag No tags | 3 comments  

3 comments on Exporting to uVision:

14 Nov 2011

Test with my

http://mbed.org/users/dreschpe/notebook/micro-paint/

demo. Works without problems.

Peter

28 Jan 2012

uVision has a nasty limitation of generating all object files in one output folder. If you have two source files with the same name but in different folders (e.g. dir1/file.cpp and dir2/file.cpp or even dir1/file.c and dir2/file.cpp), uVision will overwrite the object file of the first source file with the object file of the second source file, i.e. you'll lose one object file and won't be able to link your program.

27 Mar 2012

If you open Project Settings, and under the Output tab, you can direct uVision where to to put the object files (ditto under "Listings" tab).

Please login to post comments.