Keil™, An ARM® Company

µVision® User's Guide

Technical Support

On-Line Manuals

µVision® User's Guide

µVision3 Overview
User Interface
Creating Applications
Utilities
Debugging
Debug Commands
Debug Functions
Simulation
Flash Programming
Dialogs
File
Device Database
License Management
Single-User License
Floating-User License
Floating License Administrator
Edit
Find in Files
Configuration
Editor
Colors & Fonts
User Keywords
Shortcut Keys
Templates
View
Symbol Window
Project
Components, Enviornment, and Books
Project Components
Folders/Extensions
Books
Multi-Project
Select Device
Options
Device
Properties
Target
Target (Keil ARM)
Target (Keil C51)
Target (Keil C166)
Target (Keil C251)
Target (GNU ARM)
Target (RealView ARM)
Output
Output (Keil)
Output (GNU ARM)
Output (RealView ARM)
Listing
Listing (Keil)
Listing (GNU ARM)
Listing (RealView ARM)
User
Keil EC++ Compiler
Compiler
Keil CA ARM Compiler
Keil Cx51 Compiler
Keil C166 Compiler
Keil C251 Compiler
GNU ARM C Compiler
RealView ARM C Compiler
Assembler
Keil AA ARM Assembler
Keil Ax51 Assembler
Keil A166 Assembler
Keil A251 Assembler
GNU ARM Assembler
RealView ARM Assembler
Linker
Keil LA Locate
Keil LA Misc
Keil BL51 Locate
Keil BL51 Misc
Keil Lx51 Locate
Keil Lx51 Misc
Keil L166 Locate
Keil L166 Misc
GNU ARM Linker
RealView ARM Linker
Debug
Utilities
Batch Build
Debug
Breakpoints
Debug Settings
Logic Analyzer
Memory Map
Performance Analyzer
Function Editor
Tools
Setup PC-Lint
Customize Tools Menu
SVCS
Configure Version Control
Example Programs
Command Line
Appendix

User

This dialog allows you to specify programs that are executed during the build process. You may pass arguments from the µVision project manager to these user programs using a Key Sequence.

Before Compilation of a C/C++ File

Run User Program
Allows you run programs before the compilation of each C/C++ source file (typical used for extensive syntax checkers such as MISRA tools).
DOS16
Used only for older programs that must run in a 16-bit DOS environment.

Before Build/Rebuild

Run User Program
Allows you run programs before the a build or rebuild process (typical used pre-compilation tools).
DOS16
Used only for older programs that must run in a 16-bit DOS environment.

After Build/Rebuild

Run User Program
Allows you run programs after a successful build or rebuild process (typical used for file converters or debuggers).
DOS16
Used only for older programs that must run in a 16-bit DOS environment.
Beep When Complete
Gives an acoustic signal when build process is complete.
Start Debugging
Starts the Debugger after the compile process is complete.

Examples:

  • Run User Program #1: C:\Utilities\Programmer.exe -d271001 #H

    Call with an application specific parameter and with the full path Hex Output file (#H means C:\MyProject\Project1.HEX).
  • Run User Program #2: C:\Utilities\Emulator.exe "%L" -p"$P"

    Call with the linker output file ("%L" means "Project1") and with the project folder name (as application parameter -p with "$P" means C:\MyProject).

Note

  • You should enclose the Key Sequence with quotes ("") if you use folder names with special characters (i.e. space, ~, #).