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.

Badly formed pragma when using code composer 4.1

Hi Everyone,

 

I have a problem with code composer 4.1 when trying to use pragma for DATA_SECTION.

 

#pragma DATA_SECTION(dma_tx_ch0_buf, ".data")
unsigned char dma_tx_ch0_buf[ DMA_BUF_SIZE ];

 

When I build it, I get the following error:

                             badly formed pragma    BIOS5c    dma_dsp.cpp    line 44   

 

.data section is located in SDRAM.

 

Version of compiler is TMS320C55x C/C++ Compiler               v4.3.6

 

What should I do ?

Regards

Claus