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.

AM3359: CCS compile warning: ignoring #pragma DATA_SECTION [-Wunknown-pragmas]

Part Number: AM3359

I'm now using board AM3359 on RTOS. The CPU is Cortex-A8, the compiler version is GNU v6.3.1(Linaro). My project is based on SYS/BIOS.

I want to use #pragma DATA_SECTION to store the data of an array to the given address in memory.

In .c file I used the DATA_SECTION pragma and defined the array:

The memory section in linker.cmd is like this:

In .cfg file I added section "eni_data":

After running my project, I can't find data in address 0x80000100. (I have changed to other address, the result is the same).

And I found compile warning in my .c file:

I don't know if this is the exact reason of my failure to store the data in memory.

I want to know how to resolve this warning, and how to store the data to the allocated memory.

Thank you.