hi,
here a dirty summary for installing
arduino on debian unstable:
with the next checkout i will update it.
- you need a kernel supporting the ftdi serial/usb chip
- install the "subversion" package to be able to check out arduino:
- check out the code via the instructions on https://developer.berlios.de/svn/?group_id=3590
- to get java add the following line to /etc/apt/sources.list
deb
ftp://ftp.easynet.be/blackdown/debian unstable main non-free
or substitute the url with another mirror from
http://www.blackdown.org- install avr-gcc (debian package is gcc-avr), avr-libc, binutils-avr, jikes, uisp, j2re and j2sdk
- add the path tojava/bin and rt.jar to your CLASSPATH:
in my case this looks like:
export CLASSPATH=/usr/java/jre1.5.0_02/bin:/usr/java/jre1.5.0_02/lib/rt.jar
- add the path to avr-gcc to DIRAVR, note the default for that is /bin,
and at the moment this will be added to what stands in DIRAVR, so i needed to add:
export DIRAVR=/usr
- you can check on this variables with the "env" command
note that as soon as you close your xterm this settings are gone. for a tutorial on environment variables look at:
http://www.dynamic-apps.com/tutorials/classpath.jsp
- cd to trunk/build/linux:
- compile it:./make.sh
- add symlink from /dev/ttyUSB0 to /dev/ttyS5 (use a non existing /dev/ttyS*)
ln -s /dev/tty/USB0 /dev/ttyS5
- added following directory in the work directory: tools/avr/bin/
- in this directory i made the symlinks to the following applications: avr-gcc avr-objcopy avr-objdump avr-size uisp
- start it: ./run.sh