Tool/software: Code Composer Studio
I'm migrating from IAR to CCS version 10 and I'm trying to place an array of 100-bytes in FRAM at address 0x20000
In IAR i would do this:
__no_init uint8_t config_buffer[100] @ 0x20000;
How do i do this with CCS. I've tried:
#pragma location=0x20000 uint8_t config_buffer[100];
and I get the following:
"../source/main.c", line 112: warning #17003-D: relocation from function "main" to symbol "config_buffer" overflowed; the 18-bit relocated address 0x20000 is too large to encode in the 16-bit field (type = 'R_MSP430X_ABS16' (15), file = "./source/main.obj", offset = 0x00000044, section = ".text:main")
How do I modify the C code or the lnk_msp430fr5994.cmd file?
Thanks,
-Jim
