keil c51 与 MDK 冲突的解决
然后上网一查果然有很多人遇到这个问题,错误提示为下图:
其实这个是MDK和KEIL C51 配置文件冲突的问题,可以参考下两个人的配置文件:
[C51]
PATH="D:Program FilesKeil_C702c51"(修改添加部分)
BOOK0=HLPRELEASE_NOTES.HTM("Release Notes")
BOOK1=HLPGS51.PDF("uVision2 Getting Started")
BOOK2=HLPC51.PDF("C51 Users Guide")
BOOK3=HLPC51LIB.CHM("C51 Library Functions",C)
BOOK4=HLPA51.PDF("Assembler/Utilities")
BOOK5=HLPTR51.CHM("RTX51 Tiny Users Guide")
BOOK6=HLPDBG51.CHM("uVision2 Debug Commands")
BOOK7=ISD51ISD51.HTM("ISD51 In System Debugger")
BOOK8=MON390MON390.HTM("MON390: Dallas Contiguous Mode Monitor")
TDRV0=BINMON51.DLL ("Keil Monitor-51 Driver")
TDRV1=BINISD51.DLL ("Keil ISD51 In-System Debugger")
TDRV2=BINMON390.DLL ("MON390: Dallas Contiguous Mode")
TDRV3=BINLPC2EMP.DLL ("LPC900 EPM Emulator/Programmer")
RTOS1=RTXTINY.DLL ("RTX-51 Tiny")
RTOS2=RTX51.DLL ("RTX-51 Full")
Version=V7.0
==============================================================
[ARM]
PATH="D:Program FilesMDK4.10ARM"
VERSION=4.10
PATH1="C:Program FilesCodeSourcerySourcery G++ Lite"
TOOLPREFIX=arm-none-eabi-
CPUDLL0=SARM.DLL(TDRV0,TDRV5,TDRV6,TDRV10) # Drivers for ARM7/9 devices
CPUDLL1=SARMCM3.DLL(TDRV1,TDRV2,TDRV3,TDRV4,TDRV5,TDRV7,TDRV8,TDRV9) # Drivers for Cortex-M devices
BOOK0="HLPRELEASE_NOTES.HTM" ("Release Notes",GEN)
BOOK1="HLPARMTOOLS.chm" ("Complete Users Guide Selection",C)
BOOK2="HLPRL_RELEASE_NOTES.HTM" ("RTL-ARM Release Notes",GEN)
BOOK3="HLPRVI.chm" ("RV Compiler Introduction",GEN)
BOOK4="SignumDocsSigUV3Arm.htm" ("Signum Systems JTAGjet Driver Documentation",GEN)
TDRV0=BINUL2ARM.DLL("ULINK ARM Debugger")
TDRV1=BINUL2CM3.DLL("ULINK Cortex Debugger")
TDRV2=BINAGDIRDI.DLL("RDI Interface Driver")
TDRV3=BINABLSTCM.dll("Altera Blaster Cortex Debugger")
TDRV4=BINlmidk-agdi.dll("Stellaris ICDI")
TDRV5=SignumSigUV3Arm.dll("Signum Systems JTAGjet")
TDRV6=SeggerJLTAgdi.dll("J-LINK / J-TRACE")
TDRV7=SeggerJL2CM3.dll("Cortex-M3 J-LINK")
TDRV8=STLinkST-LINKIII-KEIL.dll ("ST-Link Debugger")
TDRV9=BINULP2CM3.DLL("ULINK Pro Cortex Debugger")
TDRV10=BINULP2ARM.DLL("ULINK Pro ARM Debugger")
LIC0=ATT9U-SR4AF-S9MG4-F9K4J-X1RVH-SJP83
我想大家一定发现问题了,就是在c51的编译器等目录下面没有他的目标路径而arm有,所以他肯定会提示工具不匹配之类的问题。
解决方法很简单,根据ARM的样子也写个路径就OK了,如上图所示修改添加部分。
keilc51MD 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)