使用CCS5.2 DSP/BIOS 5.33,自定义了一个CDM文件如下:
-l mailboxcfg.cmd
/* Memory Map 1 – the default */
SECTIONS
{
.bootload > BOOT
.d_down_para_mem > D_DOWN_PARA_MEM
.sccpch_para_mem > SCCPCH_PARA_MEM
}
mailboxcfg.cmd是系统自动生成的;
编译的时候报错:
>> Compilation failure
absolute symbol "_HWI_STKBOTTOM" being redefined
"E:/baijy/workspace_v5_2/bios/Debug/mailboxcfg.cmd", line 556: warning #10190-D: absolute symbol "_HWI_STKTOP" being redefined
"E:/baijy/workspace_v5_2/bios/Debug/mailboxcfg.cmd", line 561: warning #10190-D: absolute symbol "IRAM$B" being redefined
"E:/baijy/workspace_v5_2/bios/Debug/mailboxcfg.cmd", line 561: warning #10190-D: absolute symbol "_IRAM_base" being redefined
"E:/baijy/workspace_v5_2/bios/Debug/mailboxcfg.cmd", line 561: warning #10190-D: absolute symbol "IRAM$L" being redefined
"E:/baijy/workspace_v5_2/bios/Debug/mailboxcfg.cmd", line 561: warning #10190-D: absolute symbol "_IRAM_length" being redefined
error #10010: errors encountered during linking; "bios.out" not built
gmake: *** [bios.out] Error 1
Shine:
从报错信息看是redefine重复定义了,你看一下mailboxcfg.cmd和自定义的cmd之间的memory不要重复定义。