Home

XC32

XC32 is a C and C++ compiler toolchain for Microchip Technology's PIC32 family of 32-bit microcontrollers. It is the 32-bit member of Microchip's XC compiler line, alongside XC8 and XC16, and is built around the GNU Compiler Collection with Microchip-specific optimizations and code-generation enhancements. The toolchain targets a range of PIC32 devices, including PIC32MX and PIC32MZ families, and supports standard C and C++, along with processor-specific intrinsics and inline assembly. It integrates with Microchip development environments and can be used as a standalone cross-compiler.

As a GCC-based embedded toolchain, XC32 provides features common to embedded compilers: support for building bare-metal

XC32 is distributed by Microchip as part of its compiler suite and is available with a licensing

In the Microchip toolchain ecosystem, XC32 complements the XC8 and XC16 compilers and is designed to work

firmware,
linker
scripts
and
startup
code,
interrupt
handling,
and
access
to
device
headers
and
libraries
supplied
by
Microchip.
It
offers
various
optimization
levels
and
debugging
support
through
compatible
debuggers,
and
it
works
with
Microchip
runtime
libraries
and
middleware
designed
for
PIC32
devices.
model
that
includes
free
evaluation
and
commercial
licenses
for
professional
development.
It
is
regularly
updated
to
add
device
support,
performance
improvements,
and
compatibility
with
new
PIC32
devices
and
the
MPLAB
X
ecosystem.
with
MPLAB
X
IDE,
MPLAB
Code
Configurator,
and
related
software
to
support
a
broad
range
of
PIC32-based
projects.