2025-11-18 8:06 AM
Hello,
I tested the new STM32CubeIDE 2.0 today and was initially confused that CubeMX opened when I double-clicked on the *.ioc file. However, this is listed as a new feature in the release notes.
Unfortunately, this feature completely destroys my projects.
When the code is generated, these settings in the CubeIDE project change:
- Targeted Language changes from C++ to C
- Linked folders are deleted
- Configurations: DEBUG, SYSTEM added
- Linker file settings from own configurations deleted
Did I make a mistake in the settings? Why is the project changed so much?
Best regards,
Jens
Solved! Go to Solution.
2025-11-20 7:58 AM
Hello @JensH ,
The issue is confirmed: Restoring previously the deleted DEBUG/RELEASE configurations on STM32CubeIDE 2.0
and reported to the dedicated to the Dedicated Team.
Your contribution and interaction are greatly appreciated.
Best Regards.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-11-20 8:38 AM
Hello Jens,
This isn’t a mistake on your side. In STM32CubeIDE 2.0, opening the *.ioc file automatically with CubeMX can overwrite project settings—switching C++ to C, deleting linked folders, adding new configurations, and removing custom linker files.
For now, the safest approach is either to avoid regenerating code from the .ioc file or use the standalone CubeMX. Many users have reported the same issue, so it seems to be a change in 2.0 rather than a misconfiguration.
2025-11-24 5:55 AM
Hello @JensH @Theodore-henry6 @jd5 @MGogr.1
The issue is confirmed: [Linked Folders are deleted] and reported to the dedicated to the Dedicated Team.
I will let you know when the issue is fixed.
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-11-24 7:09 AM
Hallo @Mahmoud Ben Romdhane ,
so am I right that everything I reported is confirmed and reported?
Best regards,
Jens
2025-12-01 9:28 PM
Can you make it like the previous version where we dont have to open.ioc file in MX Cube.
That will be really helpful.
2025-12-09 1:06 PM
another STM MCU FU! This is not a fix. Don't they test even the basic functions before releasing updated FGS!