cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE line command build on Windows

HABIJ.1
Associate III

Hello,

Does someone know where to find documentation on how to launch build using STM32CubeIDE line command on Windows?

To specify my need, I have the command below and I would like to add an argument to redirect build log to a custom file :

stm32cubeidec.exe -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data .\ws -importAll .\Path\to_project -build output_binary

I found the line command in a script, but there is no indication on where to find documentation.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Pavel A.
Evangelist III

Simply append ">> logfile"  to the command?

 

View solution in original post

4 REPLIES 4
Pavel A.
Evangelist III

Simply append ">> logfile"  to the command?

 

That simply works indeed. Thanks

HABIJ.1
Associate III

I accepted Pavel's answer as it meets my need. But if anyone knows where to find documentation on stm32cubeIDE line command on Windows, I'm still interested.

Long long ago I've lived in a country known as the Soviet Union. And in the school then we had lectures on the History of the Communist Party. And there they used to say that "Knowledge of some principles replaces knowledge of some facts." ))  Only recently I found that this phrase belongs to J. Willard Gibbs. So....  appending  >  or  >> and a filename to any command line is one of these principles.