Hi all, My goal is to put a few constants in the code segment at compile time so they are stored in the program flash when the SiLabs 'F122 is initialized via JTAG.
const UCHAR code ucTBD = TBD_VAL;
const UCHAR code ucTBD _at_ 0x6000 = TBD_VAL;
typedef unsigned char UCHAR; #define TBD_VAL (0x00)
UCHAR code ucTBD = TBD_VAL; some_other_variable = ucTBD; // The compiler will generate a MOVC instruction here!