Skip to main content
NEdom.1
Associate III
April 20, 2026
Solved

STM32CubeMX 6.17.0 generated project lost

  • April 20, 2026
  • 1 reply
  • 160 views

 

 

I have tried using STM32CubeMX 6.17.0 to generate an STM32F429 DISC1 project.

The generated project opened in STM32CubeIDE could not be compiled unless I add <root folder> in Project -> Properties -> C/C++ General -> Path and Symbols, the source location tab.

I don't know how this happen. It's disturbing to modify project settings each time after modifying the CubeMX and generating the project.

It's probably that should happened after I add some source folders to the projects.

NEdom1_0-1776665960643.png

 

Best answer by Mahmoud Ben Romdhane

Hello @NEdom.1 

While generating the code with STM32CubeMX 6.17, I did not get build errors.

Thanks.

Mahmoud

 

 

1 reply

Technical Moderator
April 20, 2026

Hello @NEdom.1 

Let me thank you for posting.

The behavior described was not reproduced by my side.

The compilation completed without errors.

For more investigation, I recommend that you provide your Ioc.File.

MahmoudBenRomdhane_0-1776674088941.png

MahmoudBenRomdhane_1-1776674381157.png

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.
NEdom.1
NEdom.1Author
Associate III
April 21, 2026

Thank you for your reply , @Mahmoud Ben Romdhane.

Here is the .ioc file from STM32F429 Discovery board template.

Technical Moderator
April 21, 2026

Hello @NEdom.1 

While generating the code with STM32CubeMX 6.17, I did not get build errors.

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.