Skip to main content
BTrem.1
Senior
January 7, 2021
Solved

Will generating new *.stmx file be picked up when I generate code with CubeMx?

  • January 7, 2021
  • 2 replies
  • 796 views

I've been using the motor tools for about a year but some things are still fuzzy, and not documented well.

If I make changes to the *.stmx file by using MCSDK to update an existing project will these changes be picked up by CubeMx when I generate code in CubeMx? Or do I need to first generate code in MCSDK?

Thanks,

This topic has been closed for replies.
Best answer by Dario CUCCHI

Hi @BTrem.1​ , if you want to apply the changes made in the workbench you need to generate again the code and the changes will applied also in the .ioc file of "CubeMX".

Saving the changes in the workbench will only changes the .stmcx file.

2 replies

Dario CUCCHI
Technical Moderator
January 11, 2021

Hi @BTrem.1​ , if you want to apply the changes made in the workbench you need to generate again the code and the changes will applied also in the .ioc file of "CubeMX".

Saving the changes in the workbench will only changes the .stmcx file.

Laurent Ca...
Senior III
June 1, 2021

The question has been set only to the "STM32 Motor Control" topic (the question is only about the STM32 SDK). 

Best regards

Laurent Ca...