Skip to main content
Associate III
July 16, 2025
Solved

No .ioc file generated; FPU not initialised

  • July 16, 2025
  • 2 replies
  • 557 views
#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?

Best answer by Jad

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

2 replies

CTapp.1
Senior III
July 16, 2025

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

All posts are made in a personal capacityMISRA C++ ChairMISRA C WG MemberDirector The MISRA Consortium Limited (TMCL)
Andrew Neil
Super User
July 16, 2025

@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
July 16, 2025

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