2022-02-16 02:05 PM
Sorry it is not really a question.
I am using STM32CubeMXIDE Version: 1.8.0
Build: 11526_20211125_0815 (UTC)
with the integrated CubeMX for managing .ioc files
I wanted to make in incremental change without disturbing the present code base.
I used the project copy and paste, and used the automatically supplied new project name with a 2 added. I then renamed the .ioc file in the newly created project to follow the project renaming. I verified the code built and executed the same as the original.
I then used the CubeMX to remove a feature in the Software Component Selection and regenerated the code. At that point the regeneration had removed almost all the Middlewares include paths which I had to manually add back in.
I think this is a bug and if not it is certainly an undesirable feature.
there is more detail in another link: