cancel
Showing results for 
Search instead for 
Did you mean: 

Float format string flagged as error in editor

Etienne_Parmentier
Associate III

I am using STM32CubeIDE version 1.18.1, and when using float formatting, STM32CubeIDE shows me an error with red squiggles about float formatting not being enabled in my toolchain.

When I go to Project Properties > C/C++ Build > Settings , I see no 'Tool settings' menu, and no linker option to specify. I am using CMake, so I believe this is normal since STM32CubeIDE does not know about my build configuration. How can I make this error disappear while using cmake ?

10 REPLIES 10

So some files that STM32CubeIDE uses may not be in the repository.

Start a new project to get those those settings back, copy the c/h files from old project to this new one.

I was told that if a devices starts to smoke, put the smoke back in. I guess I never got all the smoke because the device never worked afterwards.
Don't worry, I won't byte.
TimerCallback tutorial! | UART and DMA Idle tutorial!

If you find my solution useful, please click the Accept as Solution so others see the solution.