Hello,
I am using Code Composer Version: 4.2.3.00004, a MSP-FETU430IF and a MSP430F4250
I got a struct defined:
struct s_Test
{
volatile unsigned char* MemoryCell;
int16_t* PointerToValue;
int16_t Minimum;
int16_t Maximum;
char* MenueText;
};
then I want to have a Table of more entries of this struct globally available:
const struct s_
Test
const Data[_e_DataLength] =
{
{NULL, &(DataMemory.Value), -1999, 9999, MenueTexte[0]},
...
}
now the whole thing is put into RAM not into FLASH, so using const or not makes no difference at all.
when i explicitly put #pragma DATA_SECTION(".const") before the definition, the RAM seems to be free, but the whole table is not initialized with the data.
How can i create a table in flash that is initialized with data?
Thank you,
Martin