Linker文件中指明如下:
MEMORY
{
L2_RAM (RWX) : org = 0x11800000, len = 0x40000
L3_CBA_RAM (RWX) : org = 0x80000000, len = 0x20000
DSP_PROG (RWX) : org = 0xc70000000, len = 0x4000000
}
.text: load >> DSP_PROG
但是,新建RTOS工程默认参数编译后出现如下提示:
"configPkg/linker.cmd", line 123: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".text" size 0xe895 . Available memory ranges:
DSP_PROG size: 0x4000000 unused: 0x3ffdec0 max hole: 0x3ffdec0error #10010: errors encountered during linking; "test.out" not built
>> Compilation failure
makefile:139: recipe for target 'test.out' failed
gmake: *** [test.out] Error 1
gmake: Target 'all' not remade because of errors.
请问这是什么问题?
Tony Tang:
JingQuan Li
MEMORY{ L2_RAM (RWX) : org = 0x11800000, len = 0x40000 L3_CBA_RAM (RWX) : org = 0x80000000, len = 0x20000 DSP_PROG (RWX) : org = 0xc70000000, len = 0x4000000}
.text: load >> DSP_PROG
这是自建的cmd文件吧,不是RTOS的cmd,RTOS里RTSC里的内存配置是啥样的?