5.2.1 Device Support
The MPLAB XC8 C Compiler aims to support all 8-bit PIC and AVR devices through Device Family Packs (DFPs). This user’s guide should be consulted when you are programming PIC devices; when programming AVR targets, see the MPLAB® XC8 C Compiler User’s Guide for AVR® MCU.
New PIC devices are frequently released. There are several ways you can check whether your compiler installation supports a particular device.
From the command line, run the compiler you wish to use and pass it the
option -mprint-devices (See Print-devices). This will display
a list of all devices known to be supported when the compiler was released, but it won't
include any new devices supported by the latest DFPs.
You can also see the devices supported by a DFP in your favorite web
browser. One of pic_chipinfo.html or
pic18_chipinfo.html will be present in the DFP's
docs directory (based on what device family the DFP supports).
These files contain a list of the supported devices, with each link showing other device
programming information.
You may expand the list of devices supported by your compiler by downloading and installing DFPs as they are released. This can be managed by Microchip development environments.
