Skip to main content
JAN R
Associate III
September 7, 2018
Question

CubeMX - Terrible ERROR!

  • September 7, 2018
  • 2 replies
  • 624 views

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.

This topic has been closed for replies.

2 replies

Technical Moderator
September 7, 2018

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"".ThanksImen"
Tesla DeLorean
Guru
September 7, 2018

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 VenmoUp vote any posts that you find helpful, it shows what's working..