cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX - Terrible ERROR!

JAN R
Associate III

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.

2 REPLIES 2
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..