Skip to content

Compiling the Firmware

Samuel Thollander edited this page Oct 21, 2016 · 4 revisions

The PIC32 firmware is compiled using the compiler provided by MPIDE running on an x86 PC.

Steps

  • Download the 20130626 version of the MPIDE compiler (select either 32 or 64 bits).
    Compiler is available here.

  • Extract and move the compiler to /usr/local

    tar --wildcards -xvzf mpide-0023-linux*.tgz  'mpide-*/hardware/pic32/compiler/pic32-tools'
    sudo mv mpide-*/hardware/pic32/compiler/pic32-tools /usr/local
    rm  mpide-*/ -r
    
  • Download source

    git clone https://github.com/kinsamanka/PICnc-V2.git
    
  • Compile

    cd PICnc-V2/firmware
    
    make
    

    The resulting firmware is named picnc.hex

Clone this wiki locally