Arduino Eclipse Plugin V 22.214.171.124 installation
Update: The newest version of the Arduino Eclipse IDE/Plugin is 2.4. The installation instructions and process particularly for the Teensy boards from PJRC.com much simpler.
These installation instructions are written for users that are already familiar with the Arduino IDE. While these are written for Mac users, other than the file locations and slight OS dependent differences in the Eclipse User interface, there is actually very little Mac specific content and these instructions should also work for windows and Linux. If you notice any mistakes or encounter problems, please leave a comment here and I’ll do my best to fix these.
Also these are written particularly for the new version of the Arduino Eclipse Plugin 126.96.36.199, which provides integration of the Teensy processor family, including the new Teensy3, an Arduino compatible board utilizing an ARM Cortex M4 32-bit micro controller.
- Download and install Eclipse IDE for C/C++ Developers (It needs to be he 32bit version of Eclipse Juno. Please do not use Eclipse Kepler!)
- Download and install Arduino 1.5.2 (beta). Do not use 1.5.4 beta. The Arduino team made changes that currently render it incompatible with the Eclipse Arduino Plugin at. Jantje is working on it ;-)
I will update the instructions once he’s got it working!
- Note: Avoid spaces in the Arduino.app file name. This is a confirmed bug that may be removed in future versions. While compiling code works fine, when uploading it to the Teensy, the teensy loader cannot be found.
- Download the Teensy Extension File.
- Note to Mac users that want to use the Teensy 3 board. The current version of the Teensy Extension file uses Teensyduino 1.15. A number of Mac users have reported problems when repeatedly re-programming/uploading code to the Teensy 3 and the newest version Teensyduino 1.16 attempts to reduce/eliminate these problems and will update the Bootloader on the Teensy 3 with the first upload to do so. If you have not already done so, please install a current Version of the Arduino IDE (0023, 1.0.3, 1.04. or 1.0.5) and then install Teensyduino 1.16. Proceed through the usual steps of compiling and uploading a sketch. This will update the bootloader and will allow you to work with the Teensy Extension file.
- Unzip the file. It contains a folder named “teensy”, which is a compilation of all the Teensyduino 1.15 files needed, e.g. the ARM toolchain and the teensy loader. It also contains all the extra Teensyduino libraries.
- Move the entire “teensy” folder into the “/hardware” folder of the Arduino 1.5.2 IDE. On my mac for example that is in:
- Start Eclipse. The first time it will ask you to select a workspace. For an Arduino work environment I’d suggest you select the place where you have all your Arduino Projects/Sketches. You can always change to another workspace if you have several of such directories.
- From the Eclipse menu bar Eclipse select “Help” –> “Install new software”.
- Make sure to uncheck the five check boxes in the above screen as otherwise you will not see the plugin in the selection window.
- Select “Add” to add the download site for the Arduino Eclipse plugin : http://www.baeyens.it/eclipse/V2
- Eclipse will show which versions are available (Make sure to keep the “Group items by category” unchecked). Select the 188.8.131.52 version and click on “Finish”. You will be asked to restart Eclipse. Accept and follow the rest of the installation steps. The Plugin installs the usual Arduino button icons into the menu bar .
- Now that the plugin is installed, from the Eclipse menu bar select “Eclipse” –> “Preferences”. In the preferences pane select “Arduino” and fill in the appropriate fields for “Arduino IDE path” and “Private library path”. The example below shows where these directories located on my machine. Obviously this may be different on each users machine.
- D.O.N.E. This concludes the installation. And now you can start with your first project using the Arduino Eclipse Plugin