CubeMx corrupting the project
Thanks for the answer!
Migrated to CooCox (CoIDE 2) and found one million times better than AC6 ....
The AC6 is garbage compared to the CoIDE ...
The worst thing AC6 is the virtual mapping of folders (terrible) ... the AC6 is so bad that you can not import the templates correctly the CubeMx repository (most examples do not work).
I followed a tutorial to import a CubeMx project to CoIDE and that's OK !