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!
0
$0.00
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® or MIPS® 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. 

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


Version 4.45 of the MPLAB® XC32 C/C++ Compiler introduces several enhancements to optimize application performance and streamline the development process:

  • Optimized string functions: Choose between size- or speed-optimized variants for string operations that are tailored to your memory or performance requirements.
  • Thumb ISA support: Link precompiled libraries for ARMv5TE architecture cores using the Thumb ISA.
  • Reduced code size: Disable unnecessary thread-safe initialization of C++ local static variables to improve code efficiency.
  • Enhanced coding experience: Use the xc32-clangd language server for intelligent features like code completion and go-to-definition in third-party code editors.

These features aim to benefit the compiled applications by enhancing performance, reducing memory usage and accelerating your development cycle. See the release notes for more detailed information on these new features.

MPLAB XC32 Compiler Downloads


Title
Version Number
Date
MPLAB XC32 C-Compiler (Windows)
4c6f5e7a... 7b02
4.45 24 Jun 2024 Download
MPLAB XC32 C-Compiler (macOS)
d39a0c74... 0658
4.45 24 Jun 2024 Download
MPLAB XC32 C-Compiler (Linux)
7f3ddeba... 3446
4.45 24 Jun 2024 Download
MPLAB XC32 C-Compiler Source
32f3f303... 8c52
4.45 24 Jun 2024 Download
MPLAB XC32 C-Compiler Release Notes 4.45 24 Jun 2024 Download

MPLAB XC32 Compiler Documentation 


Title
Date
MPLAB XC32 C-Compiler Release Notes 24 Apr 2024 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 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