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.

TMS320C6678: 6678使用SYS/BIOS动态创建任务时的堆栈分配

Part Number: TMS320C6678


var heapMemParams = new HeapMem.Params();
heapMemParams.size = 0x500000;
heapMemParams.sectionName = "systemHeap";
Program.global.heap0 = HeapMem.create(heapMemParams);
Program.sectMap["systemHeap"] = "DDR_1G";//L2SRAM
Memory.defaultHeapInstance = Program.global.heap0;

cfg文件按照上面的方式分配堆,在main函数中看到Task_create返回的地址是在DDR_1G中,分配在L2SRAM时,Task_create返回的地址是在L2SRAM里。

需要将Task的堆分配在ddr3,系统堆分配在L2SRAM中,这种方式怎么实现?