cancel
Showing results for 
Search instead for 
Did you mean: 

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

BTrem.1
Senior II

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,

1 ACCEPTED SOLUTION

Accepted Solutions
Dario CUCCHI
ST Employee

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.

View solution in original post

2 REPLIES 2
Dario CUCCHI
ST Employee

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...
Lead II

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

Best regards

Laurent Ca...