Skip to main content
HABIJ.1
Associate III
February 12, 2025
Solved

STM32CubeIDE line command build on Windows

  • February 12, 2025
  • 2 replies
  • 1337 views

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

Best answer by Pavel A.

Simply append ">> logfile"  to the command?

 

2 replies

Pavel A.
Pavel A.Best answer
Super User
February 12, 2025

Simply append ">> logfile"  to the command?

 

HABIJ.1
HABIJ.1Author
Associate III
February 13, 2025

That simply works indeed. Thanks

HABIJ.1
HABIJ.1Author
Associate III
February 13, 2025

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.
Super User
February 13, 2025

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.