Skip to main content
AndreaEPC-CO
Associate
Nov 4, 2026 11:31 AM UTC
Question

Command-line interface for MCWB 6

Hi everyone,

 

I’ve noticed that in MCWB folder there’s the executable “STMCWB_C.exe” that seems to provide an interface for command-line.
Is this correct? Is there any documentation or any other way to use MCWB programmatically?

Thanks!


Best regards,
Andrea

1 reply

GMA
ST Technical Moderator
Nov 9, 2026 11:03 AM UTC

Hello ​@AndreaEPC-CO,

“STMCWB_C.exe” is a command line MC-Workbench - ST Motor Control Projects Generator.
“./STMCWB_C.exe --help” for more details.
Example:

STMCWB_C.exe -f "C:\...\file.stwb6" -toolchain "STM32CubeIDE" -Q -mx_timeout 300 -driver HAL -cubemx 6.18.0 

 

If you agree with the answer, please accept it by clicking on 'Best answer'.Best regards.GMA