Question
After STM32CubeMX generated the code, the file I created earlier disappeared
- August 8, 2025
- 1 reply
- 463 views
Hello,
After I use STM32CUBEIDE's built-in STM32CUBEMX to generate code, the source files and header files under the folder I created myself disappeared, how can this be solved?
Before I use STM32CUBEIDE's built-in STM32CUBEMX to generate code:

After I use STM32CUBEIDE's built-in STM32CUBEMX to generate code,all the files I created disappeared.

The compilation path of the file I created has already been saved, and I also checked the keep user code when re-generating option


