Since the latest release, we faced issue with lost files and folder in Keil workspace after code regeneration.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Solved! Go to Solution.
Honestly nothing to do. The proposed workaround only works if we keep the keil compiler version 5.xx option. If it is later changed (in the Keil ecosystem) to compiler version 6.xx, WE WILL LOSE EVERYTHING AGAIN after a new regeneration of the project via CubeMX. Basically, time wasted testing had-hoc solutions.
BYW: still no one has given me any clue about the problem (and I see that there are already several people with the same) of the complete mess of the CubeMX UI after a few moments after starting it...
I agree with @Luiz Pereira, CubeMX cannot be used anymore since the 6.9 upgrade. I have to reconfigure everything in my MDK project after any code generation from CubeMX: include path, source path, file structure, code optimization level, debugger settings.. so everything set in .uvprojx file. I hope the patch will be released in days.