Skip to main content
Associate
July 15, 2025
Solved

.ioc file generation

  • July 15, 2025
  • 3 replies
  • 1254 views

hello everyone , 

When I create a new project in STM32CubeIDE (version: 1.17.0), the .ioc configuration file is not generated in the project directory. Here’s what I’ve tried:

Project Type:

Created via File > New > STM32 Project (using the STM32 Project Wizard).

Selected my MCU/board .

Expected Behavior:

A .ioc file should appear in the project root after setup (enabling peripheral/clock configuration).

Actual Result:

Only standard project files (e.g., Core/, Drivers/, .project) are generated. No .ioc file exists.

I cannot open/configure the project in STM32CubeMX.

Best answer by sami_bahlous

Thank you @AScha.3 for sharing this solution — it does help, but it's actually a temporary workaround.

When you delete the following files or folders:

  • .stm32cubemx

  • .stm32cubeide

  • .stm32cufinder

  • .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi

STM32CubeIDE will:

  • Rebuild its internal caches and indexes

  • Reset corrupted UI/plugin states

  • Stop referencing corrupted paths

This effectively gives you a clean environment, which is why the issue disappears temporarily. However, since the IDE may eventually rebuild the same corrupted state, this doesn't fix the root cause — it just resets the environment.

What actually worked for me:
Upgrading STM32CubeIDE from version 1.17.0 to 1.19.0 solved the issue permanently.

3 replies

AScha.3
Super User
July 15, 2025

Hi,

seems to be "actual" problem, i had also;

Please try to

-Close STM32CubeIDE

-Delete all those files from your PC: .stm32cufinder, .stm32cubemx, .stm32cubeide and .stm32cube 

AScha3_0-1752595552330.png

 

then restart the STM32CubeIDE and retest again.

 

If still strange problems, you could try :


 >>  To fix this, just remove this file inside your workspace:
 >>  .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
 >>  Hope this solves the issue.
 >>  (this file is the responsible of saving your workbench layout)

Then start IDE and see...and tell.

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate
July 15, 2025

where can i find those files : .stm32cufinder, .stm32cubemx, .stm32cubeide and .stm32cube

 

AScha.3
Super User
July 15, 2025

oh...

on Linux : in your home directory,

on Win...first set file browser settings , to show "hidden" and system files, = all files;

also in your home directory,

 

 

 

on what system you are ?

"If you feel a post has answered your question, please click ""Accept as Solution""."
Andrew Neil
Super User
July 15, 2025
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Andrew Neil
Super User
July 22, 2025

See the pinned post on this known issue:

STM32CubeIDE STM32Cube project creation issue

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.