如何配置STM32 开发环境
1、nanopi2上执行apt-get install git libusb-1.0.0-dev

4、连接上 STLink 的开发板。使用 lsusb 时,发现找不到命令。又要安装 usbutils#apt-getinstall usbutils

6、安装 gcc-arm-embedded 添加 gcc-arm-embedded 源,初始化编译器sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded
7、添加源时,出错add-apt-repository: command not founditory

9、之后更新一下,安装 gcc-arm-none-eabi#apt-get update#apt-get install gcc-arm-none-eabi
