This shows you the differences between two versions of the page.
x0x:firmwaredevelopment [2007/12/03 05:11] 127.0.0.1 external edit |
x0x:firmwaredevelopment [2016/01/28 18:05] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== 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 Eclipse from http://www.eclipse.org/ | ||
- | - Install the C/C++ Development Tools http://www.eclipse.org/cdt/ | ||
- | - Install WinAVR from http://winavr.sourceforge.net/ | ||
- | - 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 [[http://www.debian.org|Debian GNU/Linux]] or similar environments ([[http://www.ubuntulinux.org|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 [[http://www.gentoo.org|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 |