User Tools

Site Tools


x0x:firmwaredevelopment

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.

  1. Install Eclipse from http://www.eclipse.org/
  2. Install the C/C++ Development Tools http://www.eclipse.org/cdt/
  3. Install WinAVR from http://winavr.sourceforge.net/
  4. Install make from somewhere. Microsoft distributes a version i think. I Prefer Cygwin. Ming is another option.
  5. Launch Eclipse
  6. Goto Window → Perspectives → Other and select C/C++
  7. Right click on the project window and select Import → CVS Project
  8. enter in x0xb0x.cvs.sourceforge.net for server, /cvsroot/x0xb0x for cvsroot
  9. goto Project Properties→ C/C++ Make Project → Discovery Options → Compiler Invocation Command → C:\WinAVR\bin\avr-gcc.exe
  10. 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.
  11. Select the environment tab, and add a new environmnet variable "PATH", set it to $PATH$;<winavr path>;<make path>
  12. 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).

  1. apt-get install gcc-avr avr-libc make cvs
  2. cvs -d:pserver:anonymous@x0xb0x.cvs.sourceforge.net:/cvsroot/x0xb0x login (hit enter for password)
  3. cvs -z3 -d:pserver:anonymous@x0xb0x.cvs.sourceforge.net:/cvsroot/x0xb0x co -P firmware
  4. cd firmware/
  5. make

Development On Gentoo Linux

These instructions will set up a dev environment under Gentoo GNU/Linux, as of 2006.0 or so

  1. emerge crossdev
  2. crossdev -t avr (this takes a while)
  3. emerge cross-avr/avr-libc ; emerge dev-embedded/avr-libc ; emerge cvs
  4. cvs -d:pserver:anonymous@x0xb0x.cvs.sourceforge.net:/cvsroot/x0xb0x login (hit enter for password)
  5. cvs -z3 -d:pserver:anonymous@x0xb0x.cvs.sourceforge.net:/cvsroot/x0xb0x co -P firmware
  6. cd firmware/
  7. make

CategoryFirmware

/home/ladyada/public_html/wiki/data/attic/x0x/firmwaredevelopment.1196658708.txt.gz · Last modified: 2016/01/28 18:05 (external edit)