linux stm32编译提示
arm-none-eabi-g++: fatal error: cannot read spec file 'nano.specs': No such file or directory
sudo apt install libnewlib-arm-none-eabi
新提示
cannot find -lstdc++_nano: No such file or directory
sudo apt install libstdc++-arm-none-eabi-newlib
arm 官网toolchain介绍
Arm GNU Toolchain is released with two prebuilt C libraries based on newlib, for arm-none-eabi target. One is the standard newlib and the other is newlib-nano
未使用标准库,为了减小固件大小使用的newlib 和 newlib-nano