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.
我具有以下内存分配。
/*
*=========== CC3220S_LAUNCHXL_TIRTOS。lds =========
*/
STACKSIZE = 0x400;
HEAPSIZE = 0x2800;/* HeapMem 使用的堆缓冲区的大小*/
内存
{
SRAM0 (rwx):origin = 0x20000000、length = 0x00000400
SRAM1 (RWx):origin = 0x20000400、length = 0x00002800
SRAM (rwx):origin = 0x20003200、length = 0x0003CE00
}
表明使用的 SRAM 为98%、我们仍有剩余空间。
244468在249344字节中使用。 4876左侧0x130C
#define control_task_stack_size (0x600)
当我 把这个任务堆栈增加到0x700时、它给出链接器错误
为什么会这样?
我不确定 基于内存分配工具的问题在哪里。 98%似乎是一个错误。
SRAM 长度为0x3ce00、即243.5KB、因此不能分配244KB。
也许您可以签入映射文件以了解详细信息。