Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


You are viewing a reply to Need Float output for printf  

Need Float output for printf

Hello,

I know that this thread is one year old, but to give an answer for other people that are looking for the answer, I will give it.

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