Cube over aggressively removing user files not generated by cube
I added my own source files (app.c, PWM_manager.c) to a project generated by cube
When I regenerate using cube, I want it to delete files Cube has generated in the past but for which I am no longer using a peripheral.
e.g. I have a project that used 4 timer, I now only use three
Cube, however, in its wisdom deletes files it has never generated.
Also under AC6
Where do I put my .h files?
Every .c file has a correspondig .h file so I can easily import functionality
a) The project browser hides ALL .h files (as if no-one uses them any more)
b) It does not give me a folder to put them in
c) if I create an inc folder in my app, wher the .c file is the editor is happy, but it won’t compile!
Cant we simply ahave src/ and inc/ folders as has been common practice since the time of Kernighan and Ritchie?