5.39 Section Pragma

Use this pragma directive to define a section name .

Note: For XC32, the section attribute must accompany an object.

Suggested Replacement

__attribute_ (section())

Caveats

None.

Examples

Consider migrating IAR code such as:
#pragma section="NAME"
to MPLAB XC codes similar to:
char stack[10000] __attribute__ ((section ("STACK"))) = { 0 };

Further Information

None.