|ARM Technical Support Knowledge Articles|
Applies to: uVision (Version 1) IDE
Information in this article applies to:
I'm trying to setup an application program in uVision that will run Lint with a project specific option file. I can't figure out how to setup application programs that can navigate to the current project directory. Is there any kind of environment variable that contains this information?
Yes. In uVision, you can create substitution strings in the Application Manager. String substitution lets you pass the complete path specification, directory, or filename with or without the extension to applications you add to µVision.
You can pass the names for the current project, the current file, the current project's HEX file, the current project's absolute object file (output from the linker), and the directory from which µVision was invoked.
String substitution is performed by inserting a special key sequence in the command, directory, and argument input lines in the Application Manager dialog box. Key sequences are formatted as a Keycode and a Filecode.
The following keycodes may be used.
The following filecodes may be used.
To use $,#,%, or @ in the command line, use $$, ##, %%, or @@. For example, #P yields the full pathspec of the project, $x yields the directory from which µVision was executed, @@ yields @.
Article last edited on: 2004-06-16 13:31:24
Did you find this article helpful? Yes No
How can we improve this article?