We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X

Live Chat

Need Help?

Privacy Policy

Explore Our Award-Winning MPLAB XC Compilers


Available as free, unrestricted-use downloads, our award-winning MPLAB® XC C Compilers are comprehensive solutions for your project’s software development. Finding the right compiler to support your device is simple. 

MPLAB XC8 Compiler

MPLAB XC8 Compilers support all 8-bit PIC® and AVR® microcontrollers (MCUs).

MPLAB XC16 Compiler

MPLAB XC16 Compilers support all 16-bit PIC MCUs and some dsPIC® Digital Signal Controllers (DSCs).

MPLAB XC-DSC Compiler

The MPLAB XC-DSC C Compiler supports all dsPIC DSCs.

MPLAB XC32 Compiler

The MPLAB XC32 C/C++ Compiler supports all 32-bit PIC and SAM MCUs and MPUs featuring Arm® and MIPS® cores.

MPLAB XC Compiler Optimizations


The optimizations found on MPLAB XC C Compilers provide code-size reductions and speed enhancements that benefit your design projects. PRO license is available for designs that require maximum code reductions and best performance. The MPLAB XC C Compiler contains a free, 60-day trial of a PRO license for evaluation when activated. 

Are you looking for code optimizations? Our free MPLAB XC C Compiler comes with the majority of the optimizations you need to reduce your code size and increase its efficiency. If you're unsure which optimizations are best for your design, our free MPLAB XC Compiler Advisor can help you find the best optimizations for your project. Specifically, the free compiler contains these optimizations:

  • O0 - Ensures that your code is in its pristine state
  • O1 - Invokes all optimizations that won't affect debugging
  • O2 - Invokes a balanced set of speed and size optimizations

When you purchase one of our PRO licenses, you also get the following optimizations:

  • Os - Gives maximum code size reductions
  • O3 - Gives the best speed optimizations
  • mpa (Procedural Abstraction) - Reduces code size even further

When combined with our free and award-winning MPLAB X Integrated Development Environment (IDE), the fully graphical frontend provides:

  • Editing errors and breakpoints that match corresponding lines in the source code
  • Single stepping through C and C++ (C++ only available in MPLAB XC32++ compilers) source code to inspect variables and structures at critical points
  • Data structures with defined data types, including floating point, display in watch windows

Licenses


Looking for details on workstation, subscription, site, and more licenses? View license details and license change notices by visitng the link below.

Catalina Support


The first versions of the MPLAB XC compilers that supported Catalina were:

  • MPLAB XC8 - v2.20
  • MPLAB XC16 - v1.50
  • MPLAB XC32 - v2.41

Microchip Unified Standard Library Reference Guide


Title
Microchip Unified Standard Library Reference Guide Download
MPLAB X IDE CI/CD Wizard

MPLAB X IDE CI/CD Wizard

By using a Continuous Integration and Continuous Deployment (CI/CD) system, you can receive feedback quickly in your software development. Quick feedback can help improve the quality and reliability of your code by automating much of the building and testing process.

MPLAB Analysis Tool Suite

MPLAB Analysis Tool Suite

MPLAB Analysis Tool Suite is a collection of analysis tools integrated into the MPLAB X IDE. It supports all of our MCU, MPU and CEC devices and offers a code coverage feature and a Motor Industry Software Reliability Association (MISRA®) check in the IDE. 

Microchip University

Microchip University

Get FREE training on Microchip products 24 hours a day, every day. We offer on-demand courses and live sessions on general embedded control topics as well as Microchip, Atmel and Microsemi products. Learn how to improve your business by using Microchip products to their full advantage.

MPLAB XC Functional Safety Licenses


We offer a TÜV SÜD certified functional safety compiler package that supports all our PIC, dsPIC, AVR and SAM devices to make your tool qualification effort easier. The package includes all the documentation and reports for a fully qualified development environment for ISO 26262, IEC 61508, IEC 62304 and IEC 60730 functional safety standards. Our latest functional safety compiler package includes all the documentation and reports for a fully qualified development environment for EN 50128. the functional safety standard for railway applications. 

Functional safety licenses also include all of the optimizations found in our PRO compiler licenses and are available in the downloads tab below. Note that these compilers only unlock when a functional safety license is purchased. For more information visit the product pages below.

Functional Safety Compiler Network Server Licenses:

Microchip offers a TÜV SÜD certified functional safety compiler package

The MPLAB® XC Compiler Family

This webinar gives an overview of the different types of C compilers available for all Microchip PIC devices.

Need Some Help?


We are here to support you. Contact our Client Success Team to get assistance with your design.











Microchip University