Skip to content
Catégories:

OpenSTM32 System Workbench, enabling floating point printf specifier

Post date:
Author:

By default the float support is disabled.
To enable it, add the linker flag: -u _printf_float in your project properties:

Properties -> C/C++ Build -> Settings -> MCU GCC Linker -> Miscellaneous -> Linker flags

taken from a post from user rreignier.