This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

使用TI-RTOS默认参数编译后,提示空间不足.



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: 0x3ffdec0
error #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.

请问这是什么问题?

  • 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里的内存配置是啥样的?