2026-03-06 4:34 AM - last edited on 2026-03-06 4:50 AM by Andrew Neil
Split from STM32CubeIDE version 2.1.0 won't generate IOC project file as this is a new question.
Please keep to one question per thread.
Thanks both Ghofrane GSOURI & Andrew Neil for pointers. Adopting the method shown in the presentation. I have selected a nucleo development board to create an STM32MX project. I have then created a STM32CubeIDE projecfrom the MX project. Having not written any code yet, I'm getting compilation errors but have no idea why? The errors are relating to files marked with a red x below:
Solved! Go to Solution.
2026-03-09 3:14 AM
Hello @GChol.1
I have just run a test using your IOC file, and the project builds successfully, as shown in the screenshot below.
Please try the following on your side:
1- Move your IOC file to a new, empty folder.
2- Open this IOC file in STM32CubeMX.
3- Generate the code for your IDE from STM32CubeMX.
5- Open the generated project in the IDE and rebuild it.
THX
Ghofrane
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.
2026-03-06 4:50 AM
@Geoff104 wrote:
Thanks both Ghofrane GSOURI & Andrew Neil for pointers. Adopting the method shown in the presentation. I have selected a nucleo development board to create an STM32MX project. I have then created a STM32CubeIDE projecfrom the MX project.
You're welcome.
Please mark the solution in that other thread.
Which version of CubeMX did you use?
2026-03-06 5:07 AM
CubeMX V6.17.0. I have also tried with CubeIDE V2.0.0 and V2.1.0
2026-03-06 5:29 AM
Hello @Geoff104
Could you please provide your IOC?
I will be waiting for your feedback.
THX
Ghofrane
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.
2026-03-09 2:31 AM - edited 2026-03-09 2:58 AM
Hi @Ghofrane GSOURI , Geoff104 here (Had to use work account as I seem to be locked out of my personal account) Please see attached *.ioc file
2026-03-09 3:14 AM
Hello @GChol.1
I have just run a test using your IOC file, and the project builds successfully, as shown in the screenshot below.
Please try the following on your side:
1- Move your IOC file to a new, empty folder.
2- Open this IOC file in STM32CubeMX.
3- Generate the code for your IDE from STM32CubeMX.
5- Open the generated project in the IDE and rebuild it.
THX
Ghofrane
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.
2026-03-11 5:27 AM
@Ghofrane GSOURI Many thanks, suggestions worked!
2026-03-11 6:07 AM
Hello @GChol.1
Please mark the post that helped you as the best answer.
THX
Ghofrane
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.