Table of Contents

Arduino

Fedora 10/12

  1. install JRE 6
    1. get the bin, install to ~/bin
    2. export java_home:
      export JAVA_HOME=~/bin/jre1.6.0_17
      export PATH=$JAVA_HOME/bin:$PATH
    3. install:
      yum install compat-libstdc++-33 compat-libstdc++-296
    4. test:
      java -version
      which java
  2. install fedora things:
    yum install uisp avr-libc avr-gcc avr-gcc-c++ avr-binutils rxtx avrdude
  3. install? not sure if needed: <code>yum install libusb.i386</code>
  4. add the following udev rules to /etc/udev/rules.d/09-arduino.rules:
    SUBSYSTEMS=="usb", ATTRS{product}=="FT232R USB UART", ATTRS{idProduct}=="6001", ATTRS{idVendor}=="0403", SYMLINK+="arduino arduino_$attr{serial}"
    SUBSYSTEMS=="usb", ATTRS{product}=="ARDUINO NANO",    ATTRS{idProduct}=="6001", ATTRS{idVendor}=="0403", SYMLINK+="arduino arduino_nano_$attr{serial}"
  5. fix librxtxSerial.so, RXTXcomm.jar, and avrdude:
    cd <arduino-dir>/lib
    mv librxtxSerial.so librxtxSerial.so.orig
    mv RXTXcomm.jar RXTXcomm.jar.orig
    ln -s /usr/share/java/RXTXcomm.jar .
    ln -s /usr/lib64/rxtx/librxtxSerial.so .
    cd ../hardware/tools/
    mv avrdude avrdude.orig
    ln -s /usr/bin/avrdude .
  6. add yourself to the uucp, lock, and dialout groups
  7. run the arduino script as root

Notes

linux/fedora/arduino.txt · Last modified: 2010/03/13 16:37 by john
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki