cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX does not reload correctly the ioc file if modifed offline

Manuel Ferrero
Associate III

I have a project with its ioc, the setup of the peripherals are ok.

Now I want to edit a file while cubeide is closed and have the change reloaded when I reopen the ioc.

Let say that I set the baudrate of UART5 to 115200: in some file I'll have the UART5 init and in that function I'll have a line of code to set the baudrate to 115200:

huart5.Init.BaudRate = 115200;

I was expecting that if I close the cubeide, change the code to:

huart5.Init.BaudRate = 57600;

and then reopen cubemx it would load the new setting, but it seems that it does not.

Am I wrong to expect that behaviour or there is something going on here?

STM32CubeIDE
Version: 1.16.0
Build: 21983_20240628_1741 (UTC)

 

10 REPLIES 10

But that wasn't the question.

The question was about editing the .c file, and that change being reflected back into the .ioc file.