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.

CCS 2.21 \ Mailbox specific memory segment

Hello,

i am looking for help in order to configure a mailbox to use a specific memory segment.

I use this code (which compile and link correctly)

extern Int SDRAM_HEAP;
MBX_Attrs mbxAttrs;
mbxAttrs.segid = SDRAM_HEAP;
g_hMailbox = MBX_create(sizeof(ear_trace), 16, &mbxAttrs);

However, it seems that all segment Id (SDRAM_HEAP, IRAM,... ) are set to the same value : 0

extern Int SDRAM_HEAP;
extern Int IRAM;
extern Int DSP_BIOS;
extern Int SDRAM_CODE;

I suspect that something is missing but i do not know what. I want to either specify a value or let CCS set a different value for each segment Id.

Does someone know how to correctly configure theses values ?

Thank