问题
编译工程时发现出现大量类似错误如下
/opt/homebrew/Cellar/arm-none-eabi-gcc/13.2.0/lib/gcc/arm-none-eabi/13.2.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory
问题原因
不能使用brew install arm-none-eabi-gcc
安装编译工具链[1]
解决方案
打开终端输入命令[2]
brew uninstall arm-none-eabi-gcc
brew autoremove
brew install --cask gcc-arm-embedded