Skip to content

Boardor

  • Home
  • About
  • Contact

float support

Tips and Tricks (1) — Enabling Float Support for printf in Embedded C

2025-10-09 by boardor
Tips and Tricks (1) -- Enabling Float Support for printf in Embedded C

The toolchain version I am using is arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi and it is necessary to add the following to the linker parameters: -u_printf_float Otherwise, when using “%f”, the output will be an empty string. Please open in the WeChat client.

Categories Embedded Software & Tools Tags Cross Toolchain, Embedded C, float support, fprintf Leave a comment

#IndustrialAutomation #RoboticsTechnology .NET IoT 3C Electronics 51 Microcontroller AI Accelerator Alarm Clock Alpine Linux Anti-Debugging Application Programming Arduino AsyncMQTT_ESP32 Async Programming automotive embedded systems Automotive Semiconductors Biopython Bluetooth C/C++ CircuitPython DIY Embedded Development Embedded Systems Exploration Robotics Huichuan PLC Industrial Raspberry Pi Machine Learning open source Raspberry Pi STM32

Recent Posts

  • Hardcore Technologies in Embedded Development
    Hardcore Technologies in Embedded Development
  • Why macOS is Not Suitable for Embedded Development?
    Why macOS is Not Suitable for Embedded Development?
  • A Quick Overview: Debugging Interfaces for Microcontrollers
    A Quick Overview: Debugging Interfaces for Microcontrollers
  • DIY WeChat Bot from Scratch
    DIY WeChat Bot from Scratch
  • DIY Hexapod Robot: You Can Have One Too!
    DIY Hexapod Robot: You Can Have One Too!