Hi,
First I apologize if there's other topic that answers my question, but I couldn't find it.
I'd like to know what I shoul do to allocate memory in C6678 DDR3 dynamically.
Searching the forum I found a way to do it statically creating a memory section in cmd file
SECTIONS
{
multicore_data: load >> DDR3
}
and putting my array in this section in the C code:
int array[SIZE] = {0};
#pragma DATA_SECTION(array, "multicore_data");
It does work, but I want to do it using dynamic allocation and Memory_alloc which syntax is:
Ptr Memory_alloc(IHeap_Handle heap, SizeT size, SizeT align, Error_Block *eb);
So, how do I create this heap in the DDR3 memory? Is it possible or I can only use static arrays?
Thanks in advance.