This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Convert uVision2 project to a command line compile

Is there any way to convert a uVision2 project into a command line compile?

Thanks for any info!

  • If you're not trying to avoid uVision entirely, then uVision itself can be invoked from the command line to build your project. There's a chapter of the uVision "Getting Started" guide devoted to just that.

    If you are trying to get away from uVision, then the .uv2 files are human-readable text (assuming you don't want to flip through the dialog boxes and copy the various parameters). The individual tools can be run from the command line, and the directives are explained in the manuals.

    The only thing left would by the syntax required by your particular non-uVision build tool (make, some other IDE, whatever) to specify targets, dependencies, and files.

  • In uVision2, open the Target Options - Output tab and check the Create Batch File check box.

    Jon