Skip to main content
HABIJ.1
Associate III
Feb 12, 2025 4:59 PM UTC
Solved

STM32CubeIDE line command build on Windows

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

This topic has been closed for replies.
Pavel A.
Pavel A.Best answer
Feb 12, 2025 10:44 PM UTC

Simply append ">> logfile"  to the command?

 

4 replies

Pavel A.
Pavel A.Best answer
Feb 12, 2025 10:44 PM UTC

Simply append ">> logfile"  to the command?

 

HABIJ.1
HABIJ.1Author
Associate III
Feb 13, 2025 11:03 AM UTC

That simply works indeed. Thanks

HABIJ.1
HABIJ.1Author
Associate III
Feb 13, 2025 11:07 AM UTC

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.

Pavel A.
Feb 13, 2025 7:44 PM UTC

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.