4.3.11 __ramfunc Keyword
When used with MPLAB XC32, this must be used with the __longcall__
macro
for full compatibility.
Suggested Replacement
__attribute__((ramfunc))
Caveats
None.
Examples
Consider migrating IAR code such
as:
__ramfunc int FlashPage(char * data, char * page);
to
MPLAB XC codes similar
to:__attribute__ ((ramfunc,section(".ramfunc"), long_call, unique_section, noinline))unsigned int myramfunct void){ /* code */ }
Further Information
None.