Skip to main content
MFend
Associate III
June 27, 2019
Solved

u_printf_float - where to set for C_Linker in STM32CubeIDE?

  • June 27, 2019
  • 19 replies
  • 19682 views

When I compile, I get the following error:

The float formatting support (-u_printf_float)is not enabled from linker flags

I can't find Linker flags/Options/Settings for C - just for MCU G++ Linker. When I chose the option, it still didn't remove the error. It compiles, though and can be run.

0690X000009Xcm0QAC.jpg

This topic has been closed for replies.
Best answer by Yuk117

This problem is fixed in STM32CubeIDE ver.1.0.2.

Workaround in older version is to add "-u _printf_float" to MCU GCC Linker -> Miscellaneous -> Other flags.

0690X000009Yu2qQAC.png​

19 replies

MFend
MFendAuthor
Associate III
July 21, 2019

This worked.

thanks...

I'm going to update to the latest release...