Hi Guys, I have a message table which I want in flash. When I declare it this way...
const char *Msgs[] = { "Message 1", "Message 2", ... ... the messages go in flash but the table goes in RAM. When I declare it this way... const char __attribute__ ((section(".text"))) *Msgs[] = { both go in flash, which is what I want, but I get a warning: msp430-gcc.exe -D__DEBUG__ -D__MSP430_149__ -DNO_CRYSTAL -D_MSPFET_ -I.\incl ude -IE:\mspgcc\msp430\include -mmcu=msp430x149 -g -O2 -wall -c src\AmCmd.c -o obj\AmCmd.o /cygdrive/d/TEMP/ccsxnPw5.s: Assembler messages: /cygdrive/d/TEMP/ccsxnPw5.s:209: Warning: ignoring changed section attributes for .text Is there a syntax that would avoid the warning? Cheers, James