一、软件清单:
- VSCode:应用商店安装 或
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make sudo apt-get update sudo apt-get install ubuntu-make sudo umake web visual-studio-code
- arm-none-eabi-gcc:
sudo apt-get install gcc-arm-none-eabi
sudo apt-get install gdb-arm-none-eabi
或 手动下载安装:https://launchpad.net/gcc-arm-embedded/+download
( 补充:VSCode的PlatformIO IDE插件里Platform选项安装“ST STM32”家目录下会自动安装相应工具,看下面:
嗯。不用另外装arm-none-eabi工具集了,如果你用PlatformIO插件的话。 )~/.platformio/packages/toolchain-gccarmnoneeabi/bin/arm-none-eabi-gcc -v