STM32CubeMX Deletes Folders when Generating Code
I know why engineers have round red marks on their foreheads now. Slamming their head in the desk repeatedly.
I have a STM32H757I-Eval board that I am trying to setup with TouchGFX. I'm using STM32CubeIDE. Because of a bug, you cannot generate the template under root because TouchGFX will not find the root .project file.
So, generating the project with the virtual folders and file links. The issue is that the CM7 project has several link deleted on re-generation of the project.
- Make a change in CubeMX.
- Generate code
- Middlewares folder missing in CM7 project
- STM32h7xx_HAL_Driver folder missing in CM7 project
I can copy and paste the folders from the CM4 project and fix the 172 compile errors but this isn't a long term fix.
Any ideas on what I could change to fix this?
