1

关于投票
IAREWARM中.xcl文件设置

在工程文件的Option for node "工程名"->Linker->Config 的第一项Linker command file 有设置.xcl文件的位置,这样你即使在工程文件目录下包含了.xcl文件,也好像以这个为准。

下面的图片展示了一个例子,它是TMS470使用uC/OS-II的一个实例,发现在BSP文件夹中包含在E盘中的.xcl文件,整个工程都在E盘中,而Option for node 选项设置的路径是C:\MICRIUM\SOFTWARE\EvalBoards\TI\TMS470-A256\IAR\BSP\tms470_lnk_ram.xcl, 编译报错。解决的办法是路径改为E:\MICRIUM\SOFTWARE\EvalBoards\TI\TMS470-A256\IAR\BSP\tms470_lnk_ram.xcl,或者将Override default前的勾去掉。

方法1:改路径:

方法2:去掉勾:

系统分类: ARM
用户分类: 学习笔记
标签: xcl EWARM
来源: 无分类
发表评论 阅读全文(1298) | 回复(2)

0

关于投票
.xcl/.mac文件说明

xxx_lnk_ram.xcl is a linker command file that allows to the test code to be targeted to the TMS470 Evaluation Board. This file basically indicates where code and data will be located in memory. Test code is assumed to be placed in RAM using a J-Tag emulator (in this case, a J-Link). Note that it’s assumed that the test code will run out of RAM. You should be able to relink the code using a different .XCL file to locate the code to the on-chip Flash.

xxx_setup_ram.mac is a macro file that tells the debugger how to configure the memory map and various clock registers for the targeted chip prior to main() being called. This is necessary in order to mirror the RAM to address 0x00 which is where the interrupt vectors are located.

系统分类: ARM
用户分类: 学习笔记
标签: xcl mac
来源: 无分类
发表评论 阅读全文(967) | 回复(1)
总共 , 当前 /