Keil Logo

µVISION: Running EXE/COM/BAT Programs During Build


Information in this article applies to:

  • µVision Version 2.10 and later

QUESTION

In µVision, how do I add an executable program to my project?

ANSWER

µVision lets you add (and execute) custom files to a project. Follow these steps:

  1. Add a file to the project as usual (right-click on the group and select add files to group).
  2. Select the program file you wish to add.
  3. For the file type, select Custom File.
  4. Exit the Add Files to Group dialog.
  5. Right-click on the newly added file and select Options for File.
  6. The custom arguments input line at the bottom of the Options dialog is where you must specify the complete command line. You must include either a complete path to the program you wish to run or a path name that is relative to the project directory (where the .UV2 file is located). For example, to run the file named BLAH.BAT in the ARGH directory under your project directory, the command line would be .\ARGH\BLAH.BAT.

SEE ALSO

Last Reviewed: Monday, December 14, 2020


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  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.