We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest! Update Here
Stay in the loop with the latest from Microchip! Update your profile while you are at it. Update Here
Complete your profile to access more resources.Update Here!
Item Qty
Your cart is empty.

MPLAB® XC32 Compiler

The MPLAB® XC32 C/C++ Compiler is a powerful, optimizing compiler that converts your ISO C and C++ programs into high-performance, assembly-language instructions to run bare metal on our 32-bit PIC® microcontrollers and SAM microcontrollers and microprocessors. This compiler offers many command-line options and language extensions that enable full access to the device’s hardware features, including Tightly Coupled Memory (TCM), L1 cache coherence, and best-fit memory allocation.

Whether you're working on Microchip devices with 32-bit Arm®, MIPS® or PIC32A cores, the MPLAB XC32 Compiler empowers you to optimize and fine-tune your code for efficiency and minimize your development time for bare-metal or RTOS embedded applications. 

Licenses


The following MPLAB XC Unified Compiler Licenses are available and compatible with any MPLAB XC Compiler:

MPLAB XC32 C/C++ Compiler v4.60 Released


Version 4.60 of MPLAB® XC32 C/C++ Compiler introduces support for our innovative microcontroller (MCU) and wireless module families:

  • Support for the PIC32A MCU family that was designed for high-performance, math-intensive applications and offers high-speed analog, advanced digital peripherals and robust safety and security features. To create projects using these MCUs, you should upgrade your version of MPLAB X Integrated Development Environment (IDE) to v6.25 or later.
  • Support for our 32-bit MCU wireless modules that feature a 32-bit Arm® Cortex®-M core, and the part-support files for these modules are provided in a Device Family Pack (DFP)

MPLAB XC32 Compiler Downloads


Title
Version Number
Date
MPLAB XC32 C-Compiler (Windows)
e96d4cc0... 6aa5
4.60 27 Feb 2025 Download
MPLAB XC32 C-Compiler (macOS)
d87b13ae... 12ca
4.60 27 Feb 2025 Download
MPLAB XC32 C-Compiler (Linux)
b58388c4... e7e6
4.60 27 Feb 2025 Download
MPLAB XC32 C-Compiler Source
5e3df49b... 735c
4.60 27 Feb 2025 Download

MPLAB XC32 Compiler Documentation 


Title
Date
MPLAB XC32 C-Compiler Release Notes 27 Feb 2025 Download
MPLAB XC32 C/C++ Compiler User's Guide for PIC32C/SAM MCUs 24 Jun 2024 Download
MPLAB XC32 C/C++ Compiler User's Guide for PIC32M MCUs 24 Jun 2024 Download
MPLAB XC32 Libraries Reference Manual for PIC32A MCU 27 Feb 2025 Download
MPLAB XC32 C Compiler User's Guide for PIC32A MCU 27 Feb 2025 Download
MPLAB XC32 Assembler, Linker and Utilities User's Guide for PIC32A MCU 27 Feb 2025 Download
MPLAB XC32 Assembler, Linker and Utilities User's Guide 19 Jun 2023 Download
MPLAB XC32 Users Guide for Embedded Engineers 30 Mar 2017 Download
32-Bit Language Tools Libraries 15 Oct 2012 Download
MPLAB XC32 Users Guide for Embedded Engineers - Code Examples 08 Aug 2023 Download

MPLAB  XC32 C/C++ Functional Safety Compiler v4.39 Released


Version 4.39 of the MPLAB XC32 C/C++ Functional Safety Compiler for PIC32M and SAM/PIC32C MCUs is a TÜV SÜD-certified functional safety compiler package to make your tool qualification effort easier. The package includes all the documentation and reports for a fully qualified development environment for ISO 26262 for any ASIL, IEC 61508 for any SIL, IEC 62304 and IEC 60730-1 functional safety standards. With the latest release, C++ and C applications are supported. This compiler package includes all the documentation and reports for a fully qualified development environment for EN 50128.

As a functional safety compiler, this compiler requires a functional safety license to operate. Once activated, all optimization levels and compiler features are available. For more information, see the functional safety manual that is provided in the documentation package when you purchase a functional safety license.

MPLAB XC32 Functional Safety Downloads


Title
Version Number
Date
MPLAB XC32 FuSa Compiler (Windows)
5b45449e... 534e
4.39 21 Jun 2024 Download
MPLAB XC32 FuSa Compiler (OSX)
c66bc7d9... e928
4.39 21 Jun 2024 Download
MPLAB XC32 FuSa Compiler (Linux)
f2ea7a4e... 9276
4.39 21 Jun 2024 Download
MPLAB XC32 FuSa ReadMe 4.39 21 Jun 2024 Download
MPLAB XC32 FuSa C-Compiler Source 4.39 21 Jun 2024 Download