Tag: C30
Building Microchip’s C30 Compiler v3.20 on Ubuntu 9.10
by matt on Jan.03, 2010, under How To
This an update to my previous tutorial for building Microchip’s C Compiler for PIC24 MCUs and dsPIC DSCs (herein referred to as C30). This update covers building v3.20 of the compiler (as opposed to v3.12) under Ubuntu 9.10. Again, this is mostly gleaned from http://embeddedfreak.wordpress.com/2008/10/10/compiling-mplab-c30-v311b-under-linux, but adapted for the latest version of C30.
These instructions also work for v3.22 and are reported to work with v3.23.
Using C30 with Piklab
by matt on Aug.31, 2009, under How To
This post follows on from my previous post on building Microchip’s C compiler for PIC24 and dsPIC (C30) onUbuntu. Piklab is a great IDE for PIC development, and IMHO much nicer to use than MPLAB. Piklab has support for the dsPIC30 series of PICs using the C30 toolchain. However, I found the default settings need a little bit of tweaking to make the the toolchain that I built work. The following post details how I setup Piklab to make use of this toolchain.
Installing Microchip’s C Compiler for PIC24 MCUs and dsPIC DSCs (C30) on Ubuntu 9.04
by matt on Aug.16, 2009, under How To
Microchip’s C Compiler for PIC24 MCUs and dsPIC DSCs (herein referred to as C30) is a GCC derivative and therefore the sources are freely available to build it on any platform. However, the documentation for getting a working setup seems to be sparse. This blog entry details the steps I followed to install it under Ubuntu 9.04, mostly gleaned from http://embeddedfreak.wordpress.com/2008/10/10/compiling-mplab-c30-v311b-under-linux. There are some small changes from the embeddedfreak version, I am using v3.12 of the compiler (the most recent version at the time of writing) and I will provide details of how to setup the non-free part.
EDIT: An updated version of the compilation instructions, for C30 v3.20 can be found here: http://www.electricrock.co.nz/blog/2010/01/building-c30-v32/.