SDCC C Compiler PDF Print E-mail
Tuesday, 04 December 2007
The Small Devices C Compiler is a open-source compiler designed for a range of 8 bit microprocessors and has active ports for the 8-bit PICs. More information can be found on their SourceForge page.

The so-called PIC14 port (confusingly for the PIC10, PIC12, PIC14 and PIC16 series of ICs) is the less advanced of the two ports, but is capable of compiling most C code, but keep an eye out for the odd bug cropping up.

The PIC16 port (for the PIC18 series, with 16bit instruction words) is more reliable, but also in active development. The exact list of compatible PICs can be found on their web site, but other PICs can be added by conversion of assembly include files (see the manual for more details).

A PowerPC version of SDCC can be downloaded from their web site. I have an Intel version which can be downloaded here (3.6MB) .

Note that the GPUtils tools are also required for the PIC ports as an assembly and linker tool.

I am currently using the SDCC PIC16 port to write the firmware for a PIC18F4520 for controlling a 3D Chocolate printer with the ChocALM  project at the University of Exeter, so keep an eye on the web-site for some example code, as it progresses. 

Last Updated ( Thursday, 22 May 2008 )
 
< Prev