Skip to main content
Associate III
Jul 16, 2025 7:20 AM UTC
Solved

No .ioc file generated; FPU not initialised

#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(;;);
}

Good morning, today, as always I turned on CUBEIDE and started a blank project, however, i do not get the IOC file and have this code in my main, it is the first time i get this, what should i do to get a blank project normally initialised with an ioc file as always?

This topic has been closed for replies.
JadBest answer
Associate III
Jul 16, 2025 9:42 AM UTC

Thanks, I found out that the problem is the update of STM, I was in 1.16 so i updated it to 1.19 and it worked

3 replies

CTapp.1
Senior III
Jul 16, 2025 9:25 AM UTC

Which version are you using? You may need to upgrade to 1.19.x 

All posts are made in a personal capacity. MISRA C++ Chair, MISRA C WG Member, Director The MISRA Consortium Limited (TMCL)
Andrew Neil
Super User
Jul 16, 2025 9:28 AM UTC

@Jad wrote:

 i do not get the IOC file 


Lots of this being reported lately:

https://community.st.com/t5/stm32cubeide-mcus/ioc-file-not-generating/m-p/822500/highlight/true#M37461

 

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.
JadAuthorBest answer
Associate III
Jul 16, 2025 9:42 AM UTC

Thanks, I found out that the problem is the update of STM, I was in 1.16 so i updated it to 1.19 and it worked