22.3.3 MPLAB XC32 Pragmas
The following pragma directives are specific to the MPLAB XC32 compiler.
#pragma config identifier = value
The config
pragma allows for the setting of device-specific configuration bits for an application. See 7.3 Configuration Bit Access for a description of the syntax for the config
options.
#pragma default_function_attributes
The #pragma default_function_attributes = [@ "section"]
pragma sets default section placement attributes for function declarations and definitions that do not otherwise specify this attribute. All functions after the pragma will be placed in the section whose name is quoted after the @
token. Using the #pragma default_function_attributes =
form of this pragma will reset the section specification, so that subsequent functions are not placed in any special section.
#pragma default_variable_attributes
The #pragma default_variable_attributes = [@ "section"]
pragma sets default section placement attributes for variable declarations and definitions that do not otherwise specify this attribute. All variables after the pragma will be placed in the section whose name is quoted after the @
token. Using the #pragma default_variable_attributes =
form of this pragma will reset the section specification, so that subsequent variables are not placed in any special section.