pbsculpt3
Software for PBAI Series 3 Sculptures
Installation and Setup of EclipseArduino
Linux (Fedora 23)
Install Git
dnf install git
Install Eclipse CDT (C Development Tooling)
dnf install eclipse-cdt
Install Arduino 1.6.7
There is an arduino package in the repository, but it is 1.6.4 and thus will not work (see teensyduino notes). Instead, do the following:
- Download Arduino 1.6.7 (https://downloads.arduino.cc/arduino-1.6.7-linux64.tar.xz)
- Move the download to the
/usr/local/src/
foldermv arduino-1.6.7-linux64.tar.xz /usr/local/src
- Move to the folder
cd /usr/local/src/
- Extract the file
tar -xvf arduino-1.6.7-linux64.tar.xz
- Enter the directory
cd arduino-1.6.7
- Install
./install.sh
Install EclipseArduino
- Open Eclipse
- Help > Install New Software
- Work with: http://eclipse.baeyens.it/nightly > Add
- Name: EclipseArduino
- Select Uncategorized > Arduino Eclipse Extensions
- Next (continue until you can press finish/install)
Give EclipseArduino write access to /usr/lib64/eclipse/arduinoPlugin
cd /usr/lib64/eclipse/
sudo mkdir arduinoPlugin
sudo chown -R $USER:$USER arduinoPlugin/
- Restart Eclipse
- Window > Open Perspective > Arduino, to get into Arduino development mode
Install Teensyduino
- Download the installer (https://www.pjrc.com/teensy/td_127/teensyduino.64bit)
chmod u+x teensyduino.64bit
./teensyduino.64bit
and follow the installer- Select the correct installation path (
/usr/local/src/arduino-1.6.7/
, if you followed the arduino install instructions) - Select all libraries for installation and install
Set up Teensy in Eclipse
- Open the Arduino preferences, Window > Preferences > Arduino
- Add
/usr/local/src/arduino-1.6.7/libraries
and/usr/local/src/arduino-1.6.7/hardware/teensy/avr/libraries
to the Private Library path - Add
/usr/local/src/arduino-1.6.7/hardware
to the Private hardware path - Edit the teensyduino platform.txt file (
/usr/local/src/arduino-1.6.7/hardware/teensy/avr/platform.txt
). Add the following between the 4th and 6th lines:runtime.tools.avr-gcc.path=/usr/local/src/arduino-1.6.7/hardware/tools/avr
.
Now, you are ready to use EclipseArduino