Microchip highly recommends the MPLAB XC32 C Compiler for PIC32 (SW006023-1) for new designs. Formerly known as MPLAB C32 C Compiler
The MPLAB C Compiler for PIC32 is a full-featured ANSI compliant C compiler for Microchip's PIC32 family of 32-bit microcontrollers. A free evaluation is available by downloading the Evaluation Edition. It has no code size limit and provides complete functionality for 60 days. The compiler is completely usable after 60 days other than certain optimization levels are disabled. The compiler is fully compatible with Microchip's MPLAB IDE and popular third party IDEs. Adds support for 3 new PIC32 families with integrated Ethernet, dual CAN, USB, 128K RAMFree Evaluation Unlimited code size All libraries available No time limit on basic features
New in v1.10: - Smart I/O: Reduce code size when using printf related functions.
- Interrupt Context-Saving Improvements: Supports the new PIC32MX5, MX6, and MX7 families that enable users to assign any interrupt priority level to the shadow register set.
- APPIN/APPOUT Debugging Support: The new PIC32MX5, MX6, and MX7 devices support the APPIN/APPOUT debugging feature that allows a target application to write text or data to an MPLAB IDE window without halting the target device.
- Stack Limit symbol in built-in linker script: The default linker script now provides an _SPLIM symbol that can be used in code to help detect a stack overflow at runtime.
- Predefined macro for Feature Set: The compiler predefines a macro based on the features available for the selected device.
 High Performance Math and DSP Microchip offers high performance floating point and DSP libraries for the PIC32 included with the MPLAB compiler. Each library contains easy to use functions and complete documentation. Click to learn more about the PIC32 Floating Point or DSP Libraries.
PIC32 Peripheral Library The PIC32 Peripheral Library provides a set of functions for setting up and controlling the operation of all the peripheral modules available in the PIC32 devices. Compiler Features - DSP library- C callable DSP functions written in assembly using the standard MIPS DSP library APIs. A future compiler release will contain a second set of APIs that are compatible with Microchip's 16-bit compilers.
- Quick Migration- Complete run-time optimized peripheral libraries that are API compatible with Microchip compiler libraries for 16-bit products.
- Even Smaller Code Size- Use 16-bit instruction mode for up to 40% code size reduction
- Small and Fast- Mix 16- and 32-bit instruction types in the same source file: 32-bit instructions for performance critical code and 16-bit instructions for size reduction
- ANSI compliant with standard, math, memory, and data conversion libraries
- New highly optimized math library functions in v1.03 and later
- Supports in-line assembly
- Single and multi-vector interrupt support
- Generates relocatable object modules for enhanced code reuse
- Allows code and data to be located at absolute addresses
A special version is available for Academic use. Third Party Support
GCC Source Code Source code archives are available here Instructions for installing and upgrading the MPLAB C Compiler for PIC32 MCUs are available here. |