使用cbuild编译Keil工程
Keil 的工程可以通过 uv2csolution 转成 CMSIS 工程, 再用 cbuild 在 Windows 或 Linux 的命令行下编译, 不需要打开 µVision.
这里记录 Arm Compiler 6.24.19, CMSIS-Toolbox 2.14.1 和 MDK-Toolbox 1.1.0 的安装及工程转换过程. 下面以 Linux x86_64 为例, 工具安装到 /opt, 测试工程文件为 project.uvprojx. Windows 下操作流程相同, 换成对应的 Windows 工具包, 并调整安装路径和环境变量的设置方式即可.
安装 Arm Compiler
这里使用 MDK Community(社区版) 的 Arm Compiler 下载链接, 其他下载入口可以查看 Arm 官方下载页面.
……