I am trying to allocate a 4K array in FRAM used for data logging and have followed the procedure from "Creating MSP430 FRAM Variables Using CCS" post.
It appears to allocate the buffer but I am getting the following linker warning:
warning #10247-D: creating output section ".fram_vars" without a SECTIONS specification
In the linker command file "lnk_msp430fr5849.cmd" I have made the following entries:
MEMORY
{
//FRAM : origin = 0x4400, length = 0xBB80
FRAM_VARS (RW) : origin = 0x4400, length = 0x1000
FRAM : origin = 0x5400, length = 0xAB80
}
SECTIONS
{
.fram_vars : {} > FRAM_VARS type=NOINIT
}
In my code I have the following:
#pragma SET_DATA_SECTION(".fram_vars")
unsigned char Data_Log[4096];
#pragma SET_DATA_SECTION()
Why am I getting this warning about not specifying the SECTIONS specification?