Difference between revisions of "Microchip MPLAB XC Compilers"

From CNC Wiki
Jump to navigation Jump to search
(added downloads archive page link)
(added another XC16++ GitHub link)
Line 55: Line 55:
  
 
[https://github.com/fabio-d/xc16plusplus fabio-d/xc16plusplus: Unofficial C++ compiler for PIC24/dsPIC chips, based on XC16 source code]
 
[https://github.com/fabio-d/xc16plusplus fabio-d/xc16plusplus: Unofficial C++ compiler for PIC24/dsPIC chips, based on XC16 source code]
 +
 +
[https://github.com/fabio-d/xc16plusplus-source fabio-d/xc16plusplus-source: I use this repository to track upstream XC16 releases and then apply patches to enable C++]

Revision as of 18:33, 17 October 2021

Overview

Proprietary compilers made by Microchip for their lines of microcontrollers (PIC, dsPIC, etc.) They are divided into three categories: XC8, XC16, and XC32. The numbers correspond to the bit width of the CPU line, XC16 for 16-bit for example.

The 16-bit and 32-bit compilers are based on GCC, though crippled with license checks that disable optimizations for non-paid editions. However, due to the open source restrictions, they have to release the full code to the modified version and the crippling logic can be circumvented (completely legally).

Downloads

XC8

TODO

XC16

At the time of writing, v1.70 (released March 26th 2021) was the latest version.

OS Filename Size MD5
Linux xc16-v1.70-full-install-linux64-installer.run 592,752,640 bytes 6153c217487ead4ee10e3316d283c490
Windows xc16-v1.70-full-install-windows64-installer.exe 626,837,832 bytes bd46cb03f6e9f8ea241b4f88c3e3393b
macOS xc16-v1.70-full-install-osx64-installer.dmg 591,316,745 bytes 09ec0051cf816af75957abb594039833
(release notes) Readme_XC16_v170(1).html 144,650 bytes aef55da111bb0f530f558e6e45a212f0

XC32

TODO

Online Resources

MPLAB® XC Compilers | Microchip Technology

MPLAB Ecosystem Downloads Archive | Microchip Technology

cv007/XC3216: GCC compiler restrictions removal

fabio-d/xc16plusplus: Unofficial C++ compiler for PIC24/dsPIC chips, based on XC16 source code

fabio-d/xc16plusplus-source: I use this repository to track upstream XC16 releases and then apply patches to enable C++