MDK5.37安装ARM_Compiler_5时出现的问题:ARM-Compiler ‘Default Compiler Version 5’不可用

MDK5.37安装ARM_Compiler_5
最后一个AC5编译器,从MDK5.37开始,不再默认安装,需要独立安装
ARMCompiler_506_Windows_x86_b960.zip (80.94MB)
否则使用AC5编译代码报错如下:

Build started: Project: Project
*** Target 'STM3210C_EVAL' uses ARM-Compiler 'Default Compiler Version 5' which is not available.
*** Please review the installed ARM Compiler Versions:
   'Manage Project Items - Folders/Extensions' to manage ARM Compiler Versions.
   'Options for Target - Target' to select an ARM Compiler Version for the target.
*** Build aborted.
Build Time Elapsed:  00:00:00

解决办法
1、AC5安装时配置为路径
C:\Keil_v5\ARM\ARM_Compiler_5.06u7

2、安装完成后在keil中配置
Project –> Manage –> Project Items –> Folders/Extensions –> Click the … button –> Add another Arm Compiler Version to List –> 选择上面配置的AC5安装路径

3、选择ARM编译器为AC5的版本

参考文献
Manage Arm Compiler Versions

物联沃分享整理
物联沃-IOTWORD物联网 » MDK5.37安装ARM_Compiler_5时出现的问题:ARM-Compiler ‘Default Compiler Version 5’不可用

发表评论