I wanna define a structure from the address 0x0080 using c18.
These are my codes:
#pragma udata MeasureData=0x0080 struct { unsigned int Ia; unsigned int Ib; unsigned int Ic; unsigned int Ig; unsigned int Inm; unsigned int In; unsigned int IIt; }MeasureData;
But the MPLAB outputs a error when BUILD ALL
Error - section 'MeasureData' type is non-overlay and absolute but occurs in more than one input file.