CW5.1 / 5.2: automated compile / build / make (commandline?)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CW5.1 / 5.2: automated compile / build / make (commandline?)

Jump to solution
1,723 Views
alexanderbuerge
Contributor II

Hello everybody.

First of all, i need to admit that I am not a native SW engineer, therefore it might be possible I use the wrong technical vocabulary in my question.

 

We use CW5.2 for our projects with HCS12X-MCUs with "standard suite" license.

Is it possible to run the compiler for HCS12 and XGATE projects from a command line or batch script? I mean: is it possible to somehow "automate" the whole process of generating the binary files (.s19 and .abs) files from the source code files (.c and .h) for a codewarrior project without manually opening CW and manually clicking the "build" button?

 

Thank you a lot and best regards,

Alex

Labels (1)
0 Kudos
Reply
1 Solution
1,060 Views
alexanderbuerge
Contributor II

OK, I think I was able to find an answer myself in the meantime.

I found the following document which describes the command line interface:

http://www.nxp.com/files/soft_dev_tools/doc/user_guide/IDEAUTOUG.pdf

I was able to create my own "build command" which, at least as long as there are no errors during compile, generates the appropriate binary files! :-)

View solution in original post

1 Reply
1,061 Views
alexanderbuerge
Contributor II

OK, I think I was able to find an answer myself in the meantime.

I found the following document which describes the command line interface:

http://www.nxp.com/files/soft_dev_tools/doc/user_guide/IDEAUTOUG.pdf

I was able to create my own "build command" which, at least as long as there are no errors during compile, generates the appropriate binary files! :-)