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 C language DIY Embedded Development Embedded Systems Huichuan PLC Industrial Raspberry Pi Machine Learning open source Software Development STM32

Recent Posts

  • Simulation Design of a Remote Water Level Monitoring System Based on Microcontroller
    Simulation Design of a Remote Water Level Monitoring System Based on Microcontroller
  • How Embedded Experts Optimize Microcontroller Programs from a Global Perspective
    How Embedded Experts Optimize Microcontroller Programs from a Global Perspective
  • Design and Implementation of a Basic Control Simulation System for Intelligent Cars Based on Microcontrollers
    Design and Implementation of a Basic Control Simulation System for Intelligent Cars Based on Microcontrollers
  • Understanding the Adapter Pattern Implementation in C for Microcontrollers
    Understanding the Adapter Pattern Implementation in C for Microcontrollers
  • Our Team Achieves Outstanding Results at the 17th Fujian Province College Student Microcontroller Application Design Competition
    Our Team Achieves Outstanding Results at the 17th Fujian Province College Student Microcontroller Application Design Competition