Exporters
You can export your programs for use with the Keil µVision IDE or export them as .tgz
files.
Keil µVision exporter
The Keil µVision exporter allows you to export your code to the µVision IDE. The exporter produces specific project files that you can open in the µVision IDE to do advanced debugging, such as making use of trace, the Event Recorder, and more.
To export your program to the µVision IDE:
-
Set the program you want to export as the active program.
-
Check that the target selected is the correct one for your program.
-
Open the File menu and select Export to > Keil µVision....
An export window opens. By default, the export is done in the active program folder in your workspace (Mbed Programs). You can select a different folder if needed.
-
Click the Export button.
If you selected a different export folder and the folder already contains files, the Overwrite dialog box opens.
-
Click OK to overwrite the files.
The export process generates a Keil µVision project file
.uvprojx
and a project options file.uvoptx
. If you selected a different export folder, Mbed Studio also copies all the files from your program. Follow the Keil µVision import process to import your program and start debugging.
For more information on Keil µVision files, see Project Files.
.tgz exporter
The .tgz exporter allows you to export your programs as .tgz
files for easier distribution (for example, if you want to use Mbed CLI) or backup.
To export your program as a .tgz
file:
-
Set the program you want to export as the active program.
-
Open the File menu and select Export to > .tgz File....
The Export Program window opens. By default, the export is done in the active program folder in your workspace (Mbed Programs). You can select a different folder if needed.
-
Click the Export button.