AnsweredAssumed Answered

Executing CodeWarrior app from command line - DEMO9S12XEP100

Question asked by Pablo Esteban Camacho on Oct 10, 2015
Latest reply on Oct 12, 2015 by Pablo Esteban Camacho

Hi, All.

I am working with a DEMO9S12XEP100, and using CodeWarrior 5.1 as IDE.

For the project specifications, I cannot upgrade to a more recent version of CodeWarrior: must be 5.1.

I need to:

- execute one application from command line.

- passing parameters to that applications.

The requirement is just like we do it in high level programming. For instance: my_app.exe param1 param2

My question:

Could this be done using CodeWarrior and, if possible, could you advise me how to do it?

Is it possible to pass parameters to main() function just like we do it in high level programming: "main (int argc, char** argv)" ?

One of my doubts is that I cannot figure out which kind of interface should I use, since we do not have the command line api like in Linux or Windows (I am not thinking in a GUI).

 

Thanks in advance for your help!

 

PC.

Outcomes