chipKIT® Development Platform

Inspired by Arduino™

Making the change from AVR-Arduino to PIC-Arduino

Created Wed, 25 May 2011 06:17:34 +0000 by ScribbleJ


ScribbleJ

Wed, 25 May 2011 06:17:34 +0000

I'll try to make this brief. I'm very excited about using the Mega-compatible board as a motherboard to drive a 3d printer. So far, I've been using Atmega devices to do it.

(This is all relevant to my question!) I like open source. I run Linux. I'm very used to gcc. I live on the lib avr documentation pages. I love the Atmega datasheets and appnotes explaning all the chip (software) features in detail, registers, instruction sets, etc. I don't love the Arduino IDE.

I bought this board because it's superawesome and hardware compatible, but now I'm having a hell of a time getting my toolchain set up and finding documentation on PIC because I can't seem to find the open source compiler, I'd expect a gcc fork? I can't find the libc (but I suppose it would be with the compiler) or the docs on it - I can't find the datasheets for the chip that provide the details on the chips registers and instruction sets.

So... where has my google-fu failed me? Where /are/ all these things?


funlw65

Wed, 25 May 2011 06:30:17 +0000

The sources for pic32 gcc are here: https://github.com/chipKIT32/cxx

Here are details for the MCU of chipkit MAX32: http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en545660

And for UNO32: http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en532439

Here is the MPLAB C32 compiler http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2615&dDocName=en532454

which require the MPLAB IDE: http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en019469&redirects=mplabide

Use MPLAB IDE 8 for WIndows because MPLAB X is not yet released and when it will be ready, will come also with Linux and Mac OS X versions of Pic32 C compiler.


jasonk

Thu, 26 May 2011 20:12:14 +0000

I just renamed the compiler repository https://github.com/chipKIT32/chipKIT-cxx