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.

how to use #pragma for memory allocation in c6670

Other Parts Discussed in Thread: CCSTUDIO

hi all,

i am using c6670 multicore dsp. for writing the c code i am using ccstudio v5.5. I have a look up table of size 65536. i want to keep it in the ram . so i tried,

unsigned int ctab[65536];

#pragma DATA_ALIGN(ctab, 128);

#pragma DATA_SECTION(ctab, ".edma_ddr");

But error occured when i tried to build it

 error #10099-D: program will not fit into available memory.  run placement with alignment fails for section ".sysmem" size 0x1dcd6500

how to use pragma for memories?