Keil™, An ARM® Company

Technical Support

µVISION: CLEAR EXIT CODE OF EXTERNAL USER PROGRAMS


Information in this article applies to:

  • µVision All Versions

QUESTION

I have an external user program that I run during the build process. When the program finishes the following message displays:

--- User Command terminated, Exit-Code = 1
"project" - 1 Error(s), 0 Warning(s).

I know that the error message displays because my application sets the exit code. Is there a way to avoid this error message?

ANSWER

Yes. Create a batch file (*.BAT) and include the command into this batch file. As the last command in the batch, use the ECHO command to echo some text to the output window. The ECHO command clears the errorlevel variable and the warning message will disappear.

SEE ALSO

Last Reviewed: Saturday, May 01, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure