5.2.1 Device Support
The MPLAB XC8 C Compiler aims to support all 8-bit PIC and AVR devices. 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 the compiler you are using supports a particular device.
From the command line, run the compiler you wish to use and pass it the
option -mprint-devices
(See 4.6.2.8 Print-devices). A list of all
devices will be printed.
You can also see the supported devices in your favorite web browser. Open the files pic_chipinfo.html for a list of all supported baseline or mid-range device, or pic18_chipinfo.html for all PIC18 devices. Both these files are located in the docs directory under your compiler’s installation directory.