Arduino Eclipse IDE 2.4 – Arduino 1.6.3 – Teensyduino 1.22 – Mac & Windows installation

These installation instructions have got much simpler for users of Teensy boards since Teensyduino now also supports Arduino 1.6.x.

Max OSX (Yosemite 10.10.2)

Download and install in the software packages listen below in the order shown:

Arduino 1.6.3

Teensyduino 1.22

Note : It’s good practice to check now with a Teensy board if the Blink sketch can be compiled and uploaded just verify the installation of the previous software packages was successful.

Eclipse Arduino IDE 2.4

Start the Arduino Eclipse IDE

Note : In order to run on a Mac the Arduino Eclipse IDE requires a JRE 1.7. If problems are encountered starting the IDE please upgrade the JRE. There are numerous instructions available online so this will not be covered here.

From the menu bar select Eclipse Arduino IDE -> Preferences. .
Screen Shot 2015-04-05 at 9.01.22 PM

Ib the preferences window in the left pane select Arduino. In the right pane set the paths to match the situation on your computer. Below is a screenshot of the settings on my iMac:

Screen Shot 2015-04-12 at 12.18.50 PM

Click Apply and OK.

This concludes the installation. As Teensyduino is now compatible with Arduino 1.6.x this installation also makes all the libraries directly available in the Arduino Eclipse IDE that ship with Teensyduino and that you’ve chosen to install during the installation of Teensyduino.

Windows 7 (32-bit)

There is one big difference and are a small number of minor differences between the installation procedure on Windows and Mac.

The file locations are obviously different.On my Windows installation (running in VM-Fusion on my iMac) the Arduino executable(s) are located in C:Program/Files Arduino. The folder with the Eclipse Arduino IDE can be placed anywhere as the IDE is written in Java. As such JRE 1.7 (min) is needed .

The big difference actually concerns the Arduino IDE. Since version 1.5.7 the Arduino IDE on Windows only does not include a make utility anymore which is needed by the Arduino Eclipse IDE. On Mac OS X and Linux that utility is usually part of the operating system and already present.
There is a long tread on the GitHub account for the Arduino Eclipse IDE. However, by copying the /utils folder C:/Arduino/hardware/tools/avr/utils from  Arduino 1.5.6 to the equivalent location in the Arduino 1.6.3 folder structure this can be corrected.

If you have questions or suggestions please comment below.

  1. Thank you, very simple guide.

    I went through the guide but when I try to select the “Arduino IDE Path” I get an error – “Value must be an existing file”.

    Arduino IDE version: 1.6.7
    OS X El capitan 10.11.2

    I tried searching for known issues, but they seem to be at least 1 year old and on 1.5.7.

    • The plugin and/or Arduino Eclipse IDE does not yet support Arduino 1.6.7. There were a number of big changes in 1.6.7, for example the Boards Manager.
      At this time the team that develops the Arduino Eclipse Plugin/IDE is developing Versions 3 of the software and it promises to be outstanding. For example it will also have a boards manager.

      In the meantime I’d use 1.6.6 or 1.6.5.

  2. hi there,

    23:09:24 **** Incremental Build of configuration Release for project arduinoSketch ****
    make all
    process_begin: CreateProcess(C:\cygwin\bin\echo.exe, echo “Building file: ../arduinoSketch.cpp”, …) failed.
    make (e=87): Parametr není správný.(Parameter is wrong)

    make: *** [arduino/arduinoSketch.cpp.o] Error 87

    23:09:25 Build Finished (took 188ms)

    I got arduino ide 1.6.5
    boards 1.6.7
    Luna

    Version 3 will be also for Luna or just Mars and higher?

    thx& have nice evening 🙂

  3. I just wanted to share my full installation guide to eclipseArduino with teensy, since I find that most resources seem to give a bit different opinion about what versions work with each other, and what I did seem to work well for windows 10 at the time of writing. should be a brain-dead recipe for any beginner:

    *downloaded the eclipseArduino 64bit v2 bundle: http://eclipse.baeyens.it/download/product/V2.4_win64.2015-12-06_20-24-02.tar.gz?forcedownload
    *extracted the content at C:\arduino\eclipseArduino
    *downloaded arduino 1.6.5 windows installer (not the latest at the time, 1.6.7): http://arduino.cc/download.php?f=/arduino-1.6.5-r5-windows.exe
    *if you already got arduino installed, uninstall it now.
    *installed arduino 1.6.5, set installation directory to C:\arduino\arduino-1.6.5 (it’s important there are no spaces in directory name)
    *Start Arduino and go to File -> Preferences, and set Sketchbook location as:
    C:\Users\YourUserName\Documents\Arduino
    *downloaded make.exe: ftp://ftp.equation.com/make/32/make.exe
    *place make.exe in C:\Windows ( could probably just be any folder in PATH)
    *start eclipseArduino, if this is the first time you start it, it will prompt you for a workspace directory, I would recommend C:\arduino\arduinoEclipseWorkspace
    *in eclipseArduino, go to Window -> Preferences -> Arduino and set the arduino IDE path to C:\arduino\arduino-1.6.5 and the library path C:/Users/YourUserName/Arduino/libraries, and apply the changes.
    *now go to window -> Preferences -> C/C++ -> File Types and click “New…” and write the pattern”*.ino” (without quotes) and Type: “C++ source file” and click OK.

    to get support for Teensy:
    *download teensyduino 1.27 or later
    *install, and during installation you will have to go to C:\arduino\arduino-1.6.5 so it finds the Arduino IDE installation location
    *when you create a new sketch in eclipseArduino, you will have the option to choose boards.txt file as something with “teensy” instead of “arduino” with some more teensy options showing. if you don’t know what com port to pick, check your device manager .
    *to upload, click verify, then click the reboot button on teensy, then upload sketch. The teensy loader window will show and tell you if it worked.

    This is basically what they did in this video: https://www.youtube.com/watch?v=cspLbTqBi7k&feature=youtu.be, and I’ve used bits from the instructions at: http://eclipse.baeyens.it/installAdvice.shtml

    • Hi Mikael,

      Thanks for sharing. I am not sure what is different from the instructions above that I wrote. My Instructions here are referenced on the Arduino Eclipse website as a reference for Mac users (who don’t need to install Make as it is part of the OS. Same for Linux).
      Also, as you maybe aware some of what you’ve written is going to change rather soon.
      The Arduino Eclipse IDE V3 is being developed as we speak and if I can believe the github emails I am receiving it can already be made to work with Teensy boards.
      Although, this will get even easier once Teensyduino 1.2.8 is released.

      • Yes I understand V3 is coming soon, and that this is an open source project with little funding etc… that also means that the arduinoEclipse homepage seem to be contradicting itself a little at different points (mainly regarding compatibility with versions of different things), and also once opening arduinoEclipse plugin and going to Window -> Preferences -> Arduino, it currently says in green text that “Advised Arduino IDE version: 1.6.5 -newer versions will not work” which is not found on the homepage. Basically what could have been a 20 minute installation process ended up being about 2-3 hours or pre-installation research, just reading up about compability with make, teensyduino, installation path, and so on. So I decided to write down this combination of versions and exact procedure which is up to date, and compatible with each other, so that the next time that I, or anybody wants to try this plugin, there exists an recipe that just works, no thinking required.

        Regarding ” I am not sure what is different from the instructions above that I wrote.”, you wrote: “now also supports Arduino 1.6.x.” which is seemingly not correct according to the documentation which says that 1.6.6 and 1.6.7 of Arduino is not supported.

      • Yes, I’ve mentioned exactly that topic to Jantje before and he referred me to the website. It really takes some investigating to find out what version works with what. I tend to update only when a major version of eclipseArduino or Teesnyduino is released, such as the upcoming V3. Each and every time I do this I am puzzled that the eclipseArduino website is not particularly straight forward with that information. As Teensy users we then also have to consider Teensyduino which naturally lags a little behind the Arduino versions.
        Depending what other boards you use you can use Arduino 1.6.7 with the V2.4 of eclipseArduino. I only use Teensy boards and an Uno here and there for baseline testing and use Arduino 1.6.7, Teesnyduino 1.2.7 and V2.4 of the arduinoEclipse IDE.

        Thanks again for posting. If you have suggestions what I could improve on the instructions, please let me know.
        I will add the download instruction for “make” you provided in your post to the instructions or Windows users the next time Update the instructions. Thanks for that as well!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: