安装 Eclipse 插件
打开 Eclipse 的
Help->Install New Software....
,添加一个新的 URL 安装源,这里填入 Stable 版的http://gnu-mcu-eclipse.netlify.com/v4-neon-updates
.更新并选择安装
GNU ARM & RISC-V C/C++ Cross Development Tools
所有的插件.新建一个工程,选择 C Project 模版会出现如下图:
新建工程最后一步,显示选择并配置
GNU ARM Cross ToolChain
交叉工具链,默认名是GNU MCU Eclipse ARM Embedded GCC (arm-none-eabi-gcc)
相应的工具链包可以从网上https://launchpad.net/gcc-arm-embedded/+download下载,并在这里指定的它的解压路径.
OpenOCD 安装配置
- 这里可以结合前面 Codeblocks 里的 openocd 安装.还有GNU MCU Eclipse Debug 部分
- 截图如下:

STM32 模版工程配置
新建工程
- 可以参照它的官网STM32Fxx templates
- 或者它的截图如下:

CMSIS 包管理
- 原文参照The CMSIS Packs manager
- 截图如下:
- 
安装 QEMU 调试模拟器
- 原文参照How to install the QEMU binaries
- 截图如:

谢谢支持
- 微信二维码:
- 联系作者
