4.28 type_attribute Pragma
The IAR type_attribute
pragma sets type attributes to the following function or
object.
Suggested Replacement
Remove the pragma and ensure that any IAR type attributes specified with this pragma have been migrated to the MPLAB XC8 equivalent and attached to the definition of the object or function, where possible.
Caveats
None
Examples
Consider migrating IAR code such
as:
#pragma object_attribute=__tinyflash
const char maker = 3;
to
MPLAB XC8 code similar to:__flash const char maker = 3;