Create your own Teensy Extension File

In order to get the Arduino Eclipse Plugin to work with the Teensy 2.x and Teensy 3.x boards from PJRC  and to enjoy all the goodies in form of optimized libraries that come with Teensyduino, a Teensy Extension file was needed. The reason for this is that Teesnyduino does not yet support Arduino 1.5.x but the Arduino Eclipse Plugin and the new Arduino Eclipse IDE requires Arduino 1.5.2 or 1.5.5 (NOT 1.5.4 !!!). So the previous Teensy extension file simply included files from Teensyduino installed into the Arduino 1.0.5 IDE and copied and slightly restructured into the Arduino 1.5.2 IDE. It  also required a new boards.txt file and a platform.txt file that informed Eclipse where certain files were located.

However,  the development cycles for the Plugin and Teensyduino follow different cycles and it is hard to maintain and keep up-to-date a Teensy Extension file that reflects the latest status in from  release candidates or bug fixes that are not yet released but can be found in the Teensy GitHub repository. Thus, with permission of Jantje, the author of the Arduino Eclipse Plugin and Arduino Eclipse IDE, the following instructions describe how a user can create the Teensy Extension file by themselves. This will enable users to always stay on top of the latest developments in the Teensy world.

  1. Install Arduino 1.0.5 and the latest version Teensyduino which is RC 18.2 at the time of this writing.
  2. Preferably in your private Arduino Folder (where you also keep your private Arduino libraries) create the following file structure:
    Note: for Windows users the folder name “mac” needs to be replaced with “windows” and for Linux users the folder name needs to be “linux”.
  3. Download and install Arduino 1.0.5 and the latest version Teensyduino which is RC 18.2 at the time of this writing.
  4. Once installed, navigate to Applications folder, right click on the app icon and select “Show Package Contents” and navigate to:
  5. Copy the “cores” folder and the contents of the “tools” folder as shown in the mage below to the folders into the locations into the”hardware” folder you created earlier in you private Arduino folder.
  6. Following the links highlighted in blue, download the boards.txt and the platform.txt and save them into the /hardware/teensy/all folder. Clicking on the links will open these files in Github view. You will have to select copy/paste the contents a text editor and save the file with the correct name either boards.txt or platform.txt. The image below shows exactly where the files need to be placed:
  7. Done. You can now continue with step 9 of the installation instructions for Version 2.2 of the plugin.

Leave a Reply

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

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

Facebook photo

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

Connecting to %s

%d bloggers like this: