我的单板是:TI6614 EVM, CCS版本是:5.1.0.09000 。没有用SYS BIOS. 多谢!
想请教下这个warning对程序运行有什么影响?怎么解决?在我程序中出现了很多这类warning,加载到单板上后发现有些QMSS队列寄存器读出来的值是错误的。
Instruments/pdk_tci6614_1_00_00_10/packages/ti/csl/csl_cpsw_3gfAux.h", line 339: warning #17003-D:
relocation from function "PAAddMacAddr" to symbol "gPAInstHnd" overflowed;
the 16-bit relocated address 0xa6e7 is too large to encode in the 15-bit
unsigned field (type = 'R_C6000_SBR_U15_W' (13), file = "./NetCPDriver.obj",
offset = 0x00000cb8, section = ".text")
没有使用SYS BIOS,cmd文件配置如下:
-c
-heap 0x2000
-stack 0x2000
/* Memory Map 1 - the default */
MEMORY
{
L1D: o = 00f00000h l = 00007FFFh
L1P: o = 00e00000h l = 00007FFFh
VECTORS: o = 00800000h l = 0x00000200
L2: o = 00800200h l = 0007FDFFh
SL2: o = 0C000000h l = 00100000h
}
SECTIONS
{
vecs > VECTORS
.csl_vect > L2
.text > L2
.stack > L2
.cinit > L2
.cio > L2
.const > L2
.data > L2
.switch > L2
.sysmem > L2
.far > L2
.testMem > L2
.fardata > L2
QMSS_Data.Descriptor_LL2 > L2
.shareMemQue > SL2
.sys_intram_data > L2
.sys_intram_const > L2
.sys_intram_code > L2
GROUP
{
.neardata
.rodata
.bss
} > L2
}