ElectricRock Blog

Tag: Linux

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.

Leave a Comment :, , , more...

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/.

Leave a Comment :, , , more...

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/

11 Comments :, , , more...

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.

26 Comments :, , more...

DLP-RFID1 library for Linux

by matt on Feb.08, 2010, under Informational

This page is deprecated. Please see the new page at: http://www.electricrock.co.nz/tools/dlp-rfid1-library-for-linux/.


I bought a DLP-RFID1 USB RFID tag reader/writer from Digikey (Cat # 813-1013-ND). However, I was unable to locate sufficient libraries to develop software that uses it under Linux. So I have written a C++ library to do this. Read on for more information and to download it.
(continue reading…)

4 Comments :, more...

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.

(continue reading…)

8 Comments :, , , , more...