cancel
Showing results for 
Search instead for 
Did you mean: 

stm32 targeted project type is empty and its not generating .ioc file

_kalpesh
Associate III

_kalpesh_0-1751889721909.png_kalpesh_1-1751889757616.png

 

#include <stdint.h>

#if !defined(__SOFT_FP__) && defined(__ARM_FP)
  #warning "FPU is not initialized, but the project is compiling for an FPU. Please initialize the FPU before use."
#endif

int main(void)
{
    /* Loop forever */
	for(;;);
}

Hi Im trying to generate new project with CUBE IDE 1.13 which was working fine this morning but somehow its not generating .ioc file anymore when i searched it says FPU not initialized & generates only files which are present in the second picture
plz help me on this

50 REPLIES 50

I updated to 1.19 and am still experiencing the issue. STM32Cube is greyed out.

The pinned thread also covers issues with 1.19:

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.

Hi .

I have the same issue. Upgrading to 1.19.0 did not help. The cubeMX project option remains blanked out. It worked fine until recently when I discovered 1.18 to have this issue. I did a clean re-install and still.

Same, I also reinstalled STM32 IDE 1.19 twice, and tried 1.18 once, with
the same result.
WGend.15
Associate III

It's probably already been said, but one way around this is to use the standalone CubeMX tool to generate the .ioc. Then in STM32CubeProgrammer, you select the option: STM32 Project from an Existing STM32CubeMX Configuration File (.ioc).

WGend15_0-1753191764528.png

 

This solved my problem with 1.19.0 and I guess it also solves it for earlier versions.

However, I got the same problem again, and the same solution works. I think there's something that's causing one of those user settings to get corrupted. I've been reorganizing some projects by renaming them, deleting them from the IDE, renaming directories and re-importing and then creating a new project to start clean with some new idea. I was doing the same thing when I got the problem the first time.

It could have nothing to do with it. Another thing I noticed is that while creating a new project, it started scanning for updates, maybe if it finds some update in the middle of creating a new project, it corrupts the settings, don't know.

This time I only deleted the .stmcufinder directory in user's home and it works agin. So there might be something wrong with the mcufinder plugin.

Oh, I see. This is what the solution from ST states and to set no-auto refresh to the firmware updater.

The problem has again arrived in latest 1.19.0. How many times do we need to reinstall the software just to open simple IDE 

Sniper_0-1753260769294.png

 

Hello, I was dealing with the same problem...then I upgraded to version 1.19.0...As expected it worked..
But after a day or 2, it stopped working.cube_version.PNGproject_setup.PNG