Microchip MPLAB XC Compilers

Revision as of 18:55, 17 October 2021 by Fdarling (talk | contribs) (added links for XC16 v1.50 -> v1.61)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Version OS Filename Size MD5
v1.70 Linux xc16-v1.70-full-install-linux64-installer.run 592,752,640 bytes 6153c217487ead4ee10e3316d283c490
v1.70 Windows xc16-v1.70-full-install-windows64-installer.exe 626,837,832 bytes bd46cb03f6e9f8ea241b4f88c3e3393b
v1.70 macOS xc16-v1.70-full-install-osx64-installer.dmg 591,316,745 bytes 09ec0051cf816af75957abb594039833
v1.70 (release notes) Readme_XC16_v170(1).html 144,650 bytes aef55da111bb0f530f558e6e45a212f0
v1.61 Linux xc16-v1.61-full-install-linux64-installer.run 102,607,732 bytes 111ddeacf38f7753e231a5616d5593aa
v1.61 Windows xc16-v1.61-full-install-windows64-installer.exe 103,529,912 bytes 3a41d064e8e8d29720fb10f505a077c3
v1.61 macOS xc16-v1.61-full-install-osx64-installer.dmg 102,907,601 bytes 0acfc5a07946329e86e8be943cd0da7a
v1.61 (release notes) Readme_XC16_161.html 137,301 bytes 4f53a7ce484f44dffe73d4a49c82b85b
v1.60 Linux xc16-v1.60-full-install-linux64-installer.run 102,416,348 bytes 942afd634d5054de10ef90c715f2b702
v1.60 Windows xc16-v1.60-full-install-windows64-installer.exe 103,337,720 bytes 684ec3390e013159c836a308b18b742a
v1.60 macOS xc16-v1.60-full-install-osx64-installer.dmg 102,726,910 bytes cff63fea9ac33a666ed315f37daa5619
v1.60 (release notes) Readme_XC16_160.html 136,833 bytes f20dae5d453dd2bd3b2113d4692749dd
v1.50 Linux xc16-v1.50-full-install-linux64-installer.run 101,673,790 bytes 83aaf8fe09bfdcc54b1ba7ec88ddde40
v1.50 Windows xc16-v1.50-full-install-windows64-installer.exe 102,596,552 bytes d65f3777b43d33b08e3f628a37957498
v1.50 macOS xc16-v1.50-full-install-osx64-installer.dmg 102,007,213 bytes 74c35f1f6a4a49b0f5ef916aeb7dd05e
v1.50 (release notes) Readme_XC16_150.html 129,836 bytes ee14ad9856ac3396d0bfb9f5cdf7a914

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++