Skip to main content
Associate III
October 16, 2025
Question

Modifying parameters in MC Workbench with a customized CubeMX project

  • October 16, 2025
  • 1 reply
  • 166 views
Hello,
I’m working on a motor control application using STM32 and configuring the project with MC Workbench.
After generating the project, I manually customize the CubeMX (.ioc) file to adapt it to my hardware (e.g., adding peripherals, changing pin assignments, etc.).
However, every time I regenerate the project from MC Workbench, my CubeMX modifications are overwritten, and I have to redo them manually.
:backhand_index_pointing_right: My question:
Is there a recommended way to:
  • preserve custom CubeMX changes after regenerating from MC Workbench?
  • or integrate these adjustments directly into MC Workbench so they are included during generation?
Thanks in advance for your help!

1 reply

GMA
Technical Moderator
October 16, 2025

Hello @Christophe65,

You can load your modified .ioc file in the MCSDK Workbench tool.

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