2018-08-07 12:49 PM
Something has change with Version 4.26(.1)
Any time I look at the Project Settings (even with no changes) I get a message saying:
"This Project File (System.ioc) already exists in the chosen folder. Overwrite this file by this new Project?"
If I say No and I generate code I get an error that the code was generated but the project generation got an error
If I say yes it them proceeds to delete the *entire* Src and Inc directories and creates fresh files. It even deletes my source files and hidden files (like CVS dir)
Any changes to main.c or ethernetif.c (USER CODE) are totally lost
I am using Atollic 9.0 (TrueSTIDIO project format)
My processor is the STM32F407
What triggers Cube to think I am creating a new project?
WHY does Cube think it is OK to delete files it knows nothing about?
Tom
2018-08-07 04:01 PM
>>WHY does Cube think it is OK to delete files it knows nothing about?
I think it significantly simplifies the implementation.
2018-08-08 12:57 AM
I simple clear the whole folder. I also think it is not OK.
2018-08-08 03:27 AM
I had also this. Incredible to have no warning before deleting external files.
2018-08-08 06:08 AM
The first rule of automated code generation tools is to run them in a sand-box, especially ones you use iteratively. It is not a matter of IF they will fail, but WHEN.
Use a merge tool to pull into the trees you have under a source code control system.
Yes the implementation here is horrific, but we've been talking about it for YEARS