SDCC (Small Device C Compiler)
The SDCC compiler also works with many other microcontrollers -- but, alas, SDCC doesn't work with the Atmel AVR used in the latest RepRap Options.
We're mostly running this from Debian/Ubuntu machines, so we've built our own DEB files of the version needed for our autoconf process. Vik isn't that familiar with either the sdcc code, or the process of making neat DEB files, so they may well not be perfect. If you can improve on them, please do. I used http://www.togaware.com/linux/survivor/Building_Packages0.html as a reference. Note that the version for DEB packages now lives at the top of debian/changelog rather than being dependent on the parent directory name.
The attached files were created by downloading the sdcc source package with wajig source sdcc, fetching the latest 2.7.4 files from the sdcc repository on SourceForge with
svn co https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc
and replacing the Debian package source directory with the one fetched from SourceForge. You must replace, not just copy or there will be file conflicts.
-- Main.VikOlliver - 29 Oct 2007
- The Darwin Generation1Electronics uses four PIC16F648 microcontrollers -- one per motor -- programmed with SDCC.
- Repic uses a PIC18F and could potentially be programmed with SDCC.
- Micah Carrick. "Programming PIC's in Linux using C with SDCC"
- "Using the Code::Blocks IDE with SDCC on PIC MCUs" (on the Code::Blocks wiki)
- "Programming the PIC16f628a with SDCC" (The PIC16F648 is basically a pic16f628 with twice as much Flash, twice as much EEPROM, and a little more SRAM).
- PIC programming (on Wikibooks)