ARM Technical Support Knowledge Articles

RUNNING EXE/COM/BAT PROGRAMS DURING BUILD

Applies to: uVision IDE

Answer


Information in this article applies to:


QUESTION

In uVision Version 2, how do I add an executable program to my project?

ANSWER

uVision Version 2 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 .ARGHBLAH.BAT.

SEE ALSO

Article last edited on: 2005-07-09 11:00:34

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential