2018-09-07 04:18 AM
Hi,
I have an unpleasant experience with NEW CubeMX 4.26.1. I had project for Cube in veriosn 4.20 or something like that. But unfortunately, when I updated the CubeMX to vesrion 4.26.1. Then I opened my project in it, and then after generating code in CubeMX the all my own files (***.c, ***.h) in the projects was deleted. No waring, nothing. All my files in my project for TrueSTUDIO are gone.
Is there any solution? When the new fixed version of Cube will be on ready?
Thanks, Jan.
2018-09-07 05:56 AM
Hello @JAN R ,
We confirm this bug, and it will be fixed in next STM32CubeMX version 4.27.0.
Thank you for your contribution.
With Regards,
Imen
2018-09-07 06:22 AM
It's been a problem for a month https://community.st.com/s/question/0D50X00009ceMgHSAU/stm32cubemx-deletes-src-folder
This should be an object lesson in doing your development into a sandbox, and using Source Code Management.
Iterative use of CubeMX is at the root of the problem. If you must do this keep your own modified fork and merge in updates from your runs of CubeMX.