woshi_ziyu
发表于: 2024-1-23 15:50:07 | 显示全部楼层

之前的Keil工程采用了编译器5,但最新版的Keil V5.39只有ARM Compiler 6,因此需要在ARM官网下载编译器文件进行安装。


文件可以在以下地址下载:

https://developer.arm.com/downloads/view/ACOMP5?

下载版本选择ACOMP5-r5p6-07rel1,文件名是:Arm Compiler 5.06 update 7 (build 960) Win32

1.jpg


下载安装完成后,并在工程中的Folder/Externsions中新编译器的配置,编译工程文件,提示:

"Building project DAPLink (k20dx_frdmkl02z_if, ARM)
Scan: DAPLink
Compile [1.3%]: frdmkl02z.c
[ERROR] Error: C9555E: Failed to check out a license.
The license file could not be found. Check that ARMLMD_LICENSE_FILE is set correctly.
ARMLMD_LICENSE_FILE is not set. You must set this to the path to your license.
Information about this error is available at: http://ds.arm.com/support/lic87/m1
General licensing information is available at: http://ds.arm.com/support/licensing/ "

查了下,原因是因为ARM编译器的安装目录需要安装在Keil的ARM文件夹中,比如:D:\Keil_v5\ARM\ARM_Compiler_5.06u7


跳转到指定楼层
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题 11 | 回复: 23



手机版|

GMT+8, 2024-4-27 20:24 , Processed in 0.050031 second(s), 8 queries , Gzip On, MemCache On. Powered by Discuz! X3.5

YiBoard一板网 © 2015-2022 地址:河北省石家庄市长安区高营大街 ( 冀ICP备18020117号 )

快速回复 返回顶部 返回列表