cancel
Showing results for 
Search instead for 
Did you mean: 

Regeneration of code from a copied project removes needed include paths.

GGree.1
Associate III

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:

https://community.st.com/s/question/0D53W00001MyjErSAJ/how-to-use-the-stm32h723nucleo-project-nxtcpechoserver-without-using-the-dhcp

0 REPLIES 0