STM32CubeIDE的使用探索(printf无法输出float)

STM32CubeIDE的使用探索–printf无法输出%f %lf %g

**解决方法:**加粗样式
开启格式化输出%f格式,需要对编译进行设置。
设置路径 Project →Properties →C/C++ Build → Tool Settings → 勾选Use float

STM32CubeIDE的使用探索(printf无法输出float)
STM32CubeIDE的使用探索(printf无法输出float)