报错提示内容为:The float formatting support is not enabled, check your MCU Settings from “Project Properties > C/C++ Build > Settings > Tool Settings”, or add manually “-u _printf_float” in linker flags.
根据提示进入Tool Settings,把printf输出浮点数勾上
报错提示内容为:The float formatting support is not enabled, check your MCU Settings from “Project Properties > C/C++ Build > Settings > Tool Settings”, or add manually “-u _printf_float” in linker flags.
根据提示进入Tool Settings,把printf输出浮点数勾上