FAQ STM32MPUs: How to migrate STM32CubeMX project from a previous ecosystem to a new one
Do you have a STM32CubeMX project created for a previous STM32MPU ecosystem release and would like to upgrade your project in a new ecosystem? If so, you are in the right article.
Step-by-step
To migrate a project from a previous version of STM32CubeMX to a new one, you must follow the following steps:
1. Take your project .ioc and open it with the STM32CubeMX version coming from the new ecosystem.
2. Generate your code files.
3. Copy the code from the user sections of the device tree files of your previous project to the user sections code of the device tree files generated with the STM32CubeMX new version.
Note for step 3: It might be possible that the device tree properties name or new properties happen between two versions of the ecosystem. Make sure you adapt the properties according to the new version when you do step 3. You can verify that with the reference device tree files of the ST board from the new ecosystem.
You can also verify the peripheral device tree usage in the wiki device tree articles (These articles are inline with the code delivery). https://wiki.st.com/stm32mpu/wiki/Category:Device_tree_configuration
The Change_notification article below provides you with a first overview of the evolutions between the ecosystem releases: ST Wiki: OpenSTLinux changes notification
