3.4.16 Dfp Option

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

When this option has not been used, the pic-as driver will where possible use the device-specific files provided in the assembler distribution.

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

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 assembler. DFPs never contain executables or provide bug fixes or improvements to any existing tools or standard library functions.

When using this option, the preprocessor will search for include files in the DFP/xc8/pic/include/proc and DFP/xc8/pic/include directories first (where DFP represents the path to the DFP) then search the standard search directories.