This is an old revision of the document!
Firmware Development
The Heavy Duty Option
One option for firmware development (on windows) is to install WinAvr and Eclipse. Eclipse is a rather large, but featurefull IDE. It is also excellent for Java Programming (if you want to work on the BootLoader), and quite probably has a python package as well.
-
-
-
Install make from somewhere. Microsoft distributes a version i think. I Prefer Cygwin. Ming is another option.
Launch Eclipse
Goto Window → Perspectives → Other and select C/C++
Right click on the project window and select Import → CVS Project
enter in x0xb0x.cvs.sourceforge.net for server, /cvsroot/x0xb0x for cvsroot
goto Project Properties→ C/C++ Make Project → Discovery Options → Compiler Invocation Command → C:\WinAVR\bin\avr-gcc.exe
While you're still in the C/C++ Make Project properties sheet, goto the "Make Builder" tab, deselect "use default" in "Build Command", and point that to your make command.
Select the environment tab, and add a new environmnet variable "PATH", set it to $PATH$;<winavr path>;<make path>
With any luck, once you click okay, the project should start building.
Development On Debian Linux
These instructions should get you up and running under Debian GNU/Linux or similar environments (Ubuntu, etc).
apt-get install gcc-avr avr-libc make cvs
cvs -d:pserver:anonymous@x0xb0x.cvs.sourceforge.net:/cvsroot/x0xb0x login (hit enter for password)
cvs -z3 -d:pserver:anonymous@x0xb0x.cvs.sourceforge.net:/cvsroot/x0xb0x co -P firmware
cd firmware/
make
Development On Gentoo Linux
These instructions will set up a dev environment under Gentoo GNU/Linux, as of 2006.0 or so
emerge crossdev
crossdev -t avr (this takes a while)
emerge cross-avr/avr-libc ; emerge dev-embedded/avr-libc ; emerge cvs
cvs -d:pserver:anonymous@x0xb0x.cvs.sourceforge.net:/cvsroot/x0xb0x login (hit enter for password)
cvs -z3 -d:pserver:anonymous@x0xb0x.cvs.sourceforge.net:/cvsroot/x0xb0x co -P firmware
cd firmware/
make
CategoryFirmware