2018-08-10 12:22 AM
Hi,
When I am generating Code with CubeMX, it will delete my complete Src folder. I always have to recover it. For that reason it will also not generate any new c files once i add a new peripheral.
Tried this on Mac and Windows with latest CubeMx version (4.26.1) and i get the same behaviour in both.
Can anybody help?
Thanks
Solved! Go to Solution.
2020-08-08 07:09 AM
Correction to my previous post, renaming the project did not delete the sources, it just mangled the project. .. all sources appear to be there. Phew. Must remember to always back up everything before using mx.
2021-02-19 02:03 AM
Still getting this at version 6.1.1...
Is there a version that is known to work?
2021-03-31 07:18 PM
I had the same experience,and find why this happen。
�?CubeIDE】Why delete my Src folder ?Why haven't you fix it for so long?
2021-03-31 07:27 PM
This is not an april fool's day joke。@ 4.1 2021
This problem still exists now.
I had the same experience,and find why this happen。
�?CubeIDE】Why delete my Src folder ?Why haven't you fix it for so long?
2021-04-07 07:07 AM
Hello,
i found this thread, because STM32CubeIDE deleted nearly all my src-folders during i try to export my projects into a zip file for backup. Didn't believe it until i found several threads including this one reporting this bug.
Be aware! You only have to open the project and try to export it and you will loose all your .c-files in the src folder. You don't have to recompile or edit the project!
Really a nightmare! :pouting_face:
Thanks ST!
P.S. Can a mod please delete the "Answered" tag, because this bug is still alive in 2021?