Hi,all
I am using the DVRRDK 3.0 with DM8168EVM.Now I am developing my application. In FC_RMAN_IRES_c6xdsp.cfg files ,I added the following codes:
heapMemParams.size = 0x04000000;
heapMemParams.sectionName = ".DDR3heap";
var heap2 = HeapMem.create(heapMemParams);
Program.global.DDR3heap = heap2;
In application,I want to use the heap. In main_c6xdsp.c ,first I add the following definition:
IHeap_Handle DDRheap;
Then in main() functon,I added the codes
DDRheap = HeapMem_Handle_upCast(DDR3heap);
So that in my application,I can use "DDRheap". However,when I build the codes,some errors comes:
src/main_c6xdsp.c", line 36: error: identifier "DDR3heap" is undefined
1 error detected in the compilation of "src/main_c6xdsp.c".
>> Compilation failure
How to solve this?Please give me some suggestion,Thanks.