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.

dynamic allocation in different memory section

Other Parts Discussed in Thread: TEST2, SYSBIOS

I'm using ccs 5.1 , SYS/BIOS 6.31.04.27.,

I'm creating two HeapStd in rtsc config.

var xdc_runtime_HeapStd = xdc.useModule('xdc.runtime.HeapStd');

var instxdc_runtime_HeapStd0Params0 = new xdc_runtime_HeapStd.Params();
instxdc_runtime_HeapStd0Params0.size = 199;
var instxdc_runtime_HeapStd0 = xdc_runtime_HeapStd.create(instxdc_runtime_HeapStd0Params0);
var instxdc_runtime_HeapStd1Params0 = new xdc_runtime_HeapStd.Params();
instxdc_runtime_HeapStd1Params0.instance.name = "test2";
instxdc_runtime_HeapStd1Params0.size = 20000;
Program.global.test2 = xdc_runtime_HeapStd.create(instxdc_runtime_HeapStd1Params0);

 

How allocate this heaps into different memory segments ? for example: allocate test1 in .data and test2 in .bss.