准备
1、下载vscode,官网链接:https://code.visualstudio.com/Download
2、下载STM32CubeMX,官网链接:https://www.st.com/zh/development-tools/stm32cubemx.html
环境配置
1、arm-none-eabi-gcc
交叉编译器
sudo apt-get install gcc-arm-none-eabi
2、arm-none-eabi-gdb
调试器
sudo apt install gdb-multiarch
sudo ln -s /usr/bin/gdb-multiarch /usr/bin/arm-none-eabi-gdb