Other Parts Discussed in Thread: TMS320LF2406A
I am using the TMS320LF2406A device and Code Composer Studio. In the simple sample code below, I want the variable 'Table' to be stored in the flash memory (because in reality this table is quite large and I don't want it to consume valuable RAM space). I do not want the compiler/linker to locate the variable Table in RAM. How do I do this?
int Table[10] = { 3, 6, 4, 7, 2, 9, 8, 1, 0, 5 };
int MyFunction (int Index)
{
return (Table[Index]);
}