2020-08-25 06:53 AM
I just realized STM32CubeMX Version 6.0.1 no longer sorts and groups the settings in .ioc file in a predictable way. This makes it very difficult to follow the changes with tools like `git diff`.
#MicroXplorer Configuration settings - do not modify
PA11.GPIO_Speed=GPIO_SPEED_FREQ_HIGH
Bdma.ADC3.0.PeriphInc=DMA_PINC_DISABLE
VP_TIM5_VS_ClockSourceINT.Mode=Internal
Dma.SPI1_TX.0.PeriphInc=DMA_PINC_DISABLE
Bdma.Request0=ADC3
SPI1.VirtualType=VM_MASTER
...
As a workaround one has to sort the lines manually: `sort < File.ioc > FileSorted.ioc`.
Please, please revert to the old behavior
2020-09-07 06:39 AM
2020-09-08 06:21 AM
Hi FS.1,
Normally Pin numbering is done from scratch at every code generation, thus these changes in the .ioc file when assigning a signal to a new pin.
Regards,
Khouloud.
2020-09-08 07:05 AM
Hi,
yes, it seems like it was done on purpose. However, given, more and more people are using version control systems and this behaviour somewhat breaks the purpose of version control systems, it might be something to reconsider in some future version.
Kind regards
2021-06-09 02:51 PM
I'm experiencing the same problem if I choose "Generate Code" inside STM32CubeIDE v1.6.1.
More recent post: