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.

CCS6.1 creating output section "xxx" without a sections specification (warning)

Hi Guys,

I'm near the start of a project and installed CCS6.1 to be up to date before heavy coding starts. Compiler versions above 4.4 now give a warning about creating an output section without a sections specification. This warning is a linker warning, but seems to come by changing the compiler version!

Nobody posted recently on this forum with this problem. It's a warning not an error, but it would be reassuring to start a project with clean slate of no problems.

Relevant code:

#define NVM_USER_BANK    0x1800

#pragma location = NVM_USER_BANK;

volatile const uint8_t D_USER[BANK_SIZE] = {

etc....

}

The pragmas "DATA_SECTION" and "SET_DATA_SECTION" were tried, but without success so far...