Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tools:xc32 [2016/12/18 22:52]
darron [RPi]
tools:xc32 [2020/07/18 23:00] (current)
darron [Raspberry Pi Raspbian]
Line 1: Line 1:
 ==== Microchip XC32 compiler ==== ==== Microchip XC32 compiler ====
 +
 +The XC32 compiler is available in a free edition as either the legacy MPIDE compiler
 +or the core compiler.
 +
 +The core compiler is a requirement for newer chip families such as the PIC32MM but
 +doesn't include the legacy microchip libraries to build older projects.
 +
 +The legacy libraries are available for download but only as a binary installation.
 +Newer device families such as the PIC32MM have no legacy backward compatibility.
 +
  
 === Linux AMD64 === === Linux AMD64 ===
 +
 +== 32-bit compatibility ==
 +apt-get install libc6-i386
  
 == Legacy MPIDE compiler == == Legacy MPIDE compiler ==
Line 16: Line 29:
 <code> <code>
 cd /opt/ cd /opt/
-wget "https://chipkit.s3.amazonaws.com/chipkit-core/builds/linux64/chipkit-core-linux64.16778044.master-1.3.1-1-g9ebc183.zip" +wget "https://chipkit.s3.amazonaws.com/chipkit-core/builds/linux64/chipkit-core-linux64.16778055.Branch_0299cad4-v2.0.6-2-g0299cad.zip" 
-unzip chipkit-core-linux64.16778044.master-1.3.1-1-g9ebc183.zip+unzip chipkit-core-linux64.16778055.Branch_0299cad4-v2.0.6-2-g0299cad.zip
 ln -sf chipkit-core/pic32/compiler/pic32-tools ln -sf chipkit-core/pic32/compiler/pic32-tools
 </code> </code>
Line 38: Line 51:
 find /opt/pic32-tools/pic32mx/include/peripheral -name "*.h" -exec sed -i 's/#warning/\/\/#warning/g' {} \; find /opt/pic32-tools/pic32mx/include/peripheral -name "*.h" -exec sed -i 's/#warning/\/\/#warning/g' {} \;
 </code> </code>
-=== RPi ===+ 
 +=== Raspberry Pi Raspbian ===
  
 == Legacy MPIDE compiler == == Legacy MPIDE compiler ==
Line 54: Line 68:
 <code> <code>
 cd /opt/ cd /opt/
-wget https://chipkit.s3.amazonaws.com/chipkit-core/builds/arm/chipkit-core-arm.16778044.master-1.3.1-1-g9ebc183.zip +wget https://chipkit.s3.amazonaws.com/chipkit-core/builds/arm/chipkit-core-arm.16778055.Branch_0299cad4-v2.0.6-2-g0299cad.zip 
-unzip chipkit-core/builds/arm/chipkit-core-arm.16778044.master-1.3.1-1-g9ebc183.zip+unzip chipkit-core/builds/arm/chipkit-core-arm.16778055.Branch_0299cad4-v2.0.6-2-g0299cad.zip
 ln -sf chipkit-core/pic32/compiler/pic32-tools ln -sf chipkit-core/pic32/compiler/pic32-tools
 </code> </code>
Line 80: Line 94:
 tar xvf ~/lega-c.tar tar xvf ~/lega-c.tar
 tar xvf ~/peripheral.tar tar xvf ~/peripheral.tar
-/opt/pic32-tools/pic32mx/lib+cd /opt/pic32-tools/pic32mx/lib
 tar zxvf ~/lib.tgz tar zxvf ~/lib.tgz
 </code> </code>
-=== BPi ===+=== Debian derived (Armbian, Bananian, Devuan) === 
 As per RPi above, with the following step. As per RPi above, with the following step.
 +
 <code> <code>
 cd /lib cd /lib
 ln -sf arm-linux-gnueabihf/ld-2.19.so ld-linux.so.3 ln -sf arm-linux-gnueabihf/ld-2.19.so ld-linux.so.3
 </code> </code>
 +
  
 === Cygwin === === Cygwin ===
Line 104: Line 121:
  
 === Resources === === Resources ===
-[[https://chipkit.s3.amazonaws.com/index.html?sort=lastmod&sortdir=desc|ChipKIT bucket]] + 
-\\ +[[https://chipkit.net/wiki/index.php?title=ChipKIT_core|ChipKIT core download links]] 
-[[http://chipkit.net/started/install-chipkit-software/|ChipKIT download]]+ 
 +[[https://www.microchip.com/SWLibraryWeb/product.aspx?product=PIC32%20Peripheral%20Library|Legacy Libraries]]