Tag: C30
Sample Makefile for C30
by matt on Jul.09, 2010, under News
To simplify the process of starting a new C30 project I have created a sample Makefile that takes care of most of the hard work of library paths, linker scripts, etc. Check it out at http://www.electricrock.co.nz/blog/microchip-c30/#makefile and let me know if you run into any problems.
Updated C30 build script for C30 v3.23b
by matt on Jul.08, 2010, under News
I have made a minor update to the C30 install script so that it can build/install C30 v3.23b. The only real change (apart from updating filenames) is a new unattended install script for the non-free part.
Instructions and download here: http://www.electricrock.co.nz/blog/microchip-c30/.
Updated C30 build script for Ubuntu 10.04
by matt on May.03, 2010, under News
Ubuntu 10.04 is hot off the press, so I have uploaded an update to the C30 build script to run on it. Apparently the dos2unix command is no longer supported in 10.04 so the script now uses fromdos (thanks to Nicolas for the info).
Latest version of the script can be found here: http://www.electricrock.co.nz/blog/microchip-c30/
New C30 page, now with automated goodness
by matt on Mar.21, 2010, under Informational
I have just created a new page to put all my C30 related tutorials, etc. on. It can be found at http://www.electricrock.co.nz/blog/microchip-c30/.
The most notable update is that my previous C30 building tutorials are now deprecated in favor of a new bash script that does it automagically. Check out the page for more details.
Building Microchip’s C30 Compiler v3.20 on Ubuntu 9.10
by matt on Jan.03, 2010, under How To
NOTE: This page is now outdated, please go to http://www.electricrock.co.nz/blog/microchip-c30/
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
NOTE: This page is now outdated, please go to http://www.electricrock.co.nz/blog/microchip-c30/
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.