5.7.1.6 Dfp Option

The -mdfp=path option indicates that device-support for the target device (indicated by the -mprocessor option) should be obtained from the contents of a Device Family Pack (DFP), where path is the path to the XC32 sub-directory of the DFP.

When this option has not been used, the xc32-gcc driver will where possible use the device-specific files provided in the compiler distribution.

The Microchip development environments automatically uses this option to inform the compiler of which device-specific information to use. Use this option on the command line if additional DFPs have been obtained for the compiler.

A DFP might contain such items as device-specific header files, configuration bit data and libraries, letting you take advantage of features on new devices without you having to otherwise update the compiler. DFPs never contain executables or provide bug fixes or improvements to any existing tools or standard library functions.