Hi all,
I have started off with the NDK demo example which I have got up and running fine.
But I require a larger heap than the $30000 that is allocated in the LL2RAM from the example.
I have tried many solutions but so far none have succeeded.
I wish to at least use 50MB of the DDR2 memory as the default program heap but have not found a stable way of doing this.
My first thought was to modify the existing Bios6 config code to:
var heapMemParams = new HeapMem.Params();
heapMemParams.size = 0x3000000;
heapMemParams.sectionName = "systemHeap";
Program.global.heap0 = HeapMem.create(heapMemParams);
Memory.defaultHeapInstance = Program.global.heap0;
Memory.defaultHeapSize = 0x3000000;
Program.sectMap["systemHeap"] = "DDR2";
Program.sectMap[".sysmem"] = "DDR2";
Program.heap = 0x3000000;
But this stills fails ... I have read all the documentation I could find including experimenting with a custom RTSC platform but now I am running out of options.
Help :) ... What have I missed?
Cheers.