Keil Logo

Start External Tools

External tools can be started during the build process of an application. Enter the commands into the dialog Options for Target — User. Arguments are passed to those tools using key sequences. The dialog allows executing programs:

  • Before compiling a C or C++ file (for example, to check for MISRA compliance).
  • Before building an application (for example, to invoke a data management utility).
  • After building an application (for example, to invoke data converters or debuggers).

Options for Target — User Dialog

In the example above:

  • Preprocess.bat is started before a build process.
  • execute.exe does nothing, because the RUN #2 flag is not enabled.
  • Programmer.exe is executed after the build process. The arguments passed identify the device name and the HEX output file including the full path specification.
  • Emulator.exe is executed after the build process. The arguments passed identify the name of the linker output file without a path specification, and the project folder name C:\MYPROJECT\.

Note

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.