Question
How to put struct object in absolute memory address?
My old project using 16bit infineon MCU with tasking c166, now I am moving to spc5 with free gnu gcc spc5studio.
I am working with typedef struct.
typedef struct
{
struct
{
struct
{
INT16 Rpm[6];
INT16 Load[7];
INT16 Threshold[6];
}
pickup;
} sensor;
UINT16 checksum;
} USERDATA;in c166 I set a struct object to an absolute address with ___at
USERDATA __at( 0xE00004 ) userData;
how to do the same with spc5 free gnu gcc?
