Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 12 of 12

Thread: Eclipse Arduino Download Manager for Teensy

  1. #1

    Eclipse Arduino Download Manager for Teensy

    Okay, so my last Teensy project used 12 classes, and I really don't want to use the Arduino IDE anymore. I've tried various approaches, Sloeber, Jante, but there seems to be some issue or another that is annoying enough to cause me to drop back to the Arduino toolchain.
    I'm starting a new project, and it looks like the Eclipse CDT has come a long way to support the IOT platforms, with Arduino included. However, there is no Teensy support. I'm just looking for an eclipse solution that works.

    What is the best Eclipse environment Teensy toolchain solution?

  2. #2
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    1,626
    Still Sloeber. Using it, too. To make it work with the Teensy boards, you have to have a parallel installation of the Arduino IDE, just as a container for the Teensyduino installation because the Teensy hardware info can't be just downloaded as for many other boards. That's not a Sloeber problem, but a decision from PJRC. Then, you have just to add the local hardware and lib path in the Sloeber settings. Takes 1 minute.Click image for larger version. 

Name:	Capture dcran 2017-11-06  18.38.08.png 
Views:	237 
Size:	118.5 KB 
ID:	12006

  3. #3
    Thanks. I'll give it another try. It's been about a year since I tried the Sloeber solution.

  4. #4
    Senior Member
    Join Date
    Feb 2017
    Posts
    156
    So, is there somewhere a nice step-by-step tutorial for installing and setting up this Eclipse / Sloeber? Im really interested in moving from Arduino to a more sophisticated IDE. But, Im definitely not interested in spending a lot of time dorking around hunting down and maintaining tool chains, etc. I just want to use the IDE, not dedicate my life to it.

  5. #5
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    1,626
    All you need is downloading and installing Sloeber, and then add the paths as I showed in my previous posts. More is not needed, especially if you are used to working with workspace oriented IDEs.

  6. #6
    Senior Member
    Join Date
    Jan 2013
    Location
    San Francisco Bay Area
    Posts
    640
    This really seems like it's much easier now. With the new teensyduino, I'll have to give this a go. Especially since I switched to the new version of sublime and it's really sluggish on linux.

  7. #7
    Senior Member
    Join Date
    Feb 2017
    Posts
    156
    @Theremingenieur:

    If you wouldn't mind giving a little guidance, I'd really appreciate it as this is very confusing.

    So, I wanted to start my Sloeber Adventure with a clean install of the latest IDE and Teensyduino (1.8.5 / 1.40). But, I wanted to keep my old IDE installation for all my legacy projects. So I did a "portable installation" of the IDE per:
    www.arduino.cc/en/Guide/PortableIDE
    It's located right in the root folder of my D: drive:
    Click image for larger version. 

Name:	Pic1.jpg 
Views:	51 
Size:	71.5 KB 
ID:	12015
    Click image for larger version. 

Name:	Pic2.jpg 
Views:	44 
Size:	137.8 KB 
ID:	12016
    I then installed Teensyduino and the ESP8266 package into the IDE.

    Then, I installed Sloeber V4 -- at least I think I did, kind of a weird installation process. It's also in the root folder of my D: drive:
    Click image for larger version. 

Name:	Pic3.jpg 
Views:	48 
Size:	133.3 KB 
ID:	12017
    Now I have this:
    Click image for larger version. 

Name:	Pic4.jpg 
Views:	140 
Size:	88.4 KB 
ID:	12018
    Doesn't look like your picture. What are the magic incantations I need to put into these boxes so I can write sketches for Teensy and Adafruit ESP8266 Huzzah? What if I later want to add the Adafruit SAMD board?

    Thanks for your time.

  8. #8
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    1,626
    You are on Windows, I am on Mac... your last pic looks basically ok, for the hardware path you’d have to click on New and then browsing towards the folder (inside your Arduino installation) and adding the one containing the Teensy3 boards.txt file. Then, for the private library path the same, click New and add the Teensy3 lib path. Then, you should be done.

    Can’t help for other boards since I’m working exclusively with Teensy, but basically, the procedure would be similar.

  9. #9
    Junior Member
    Join Date
    Nov 2017
    Posts
    2
    It working on linux or not?

  10. #10
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    1,626
    Naturally! As all professional developers know, Eclipse is open source and programmed in Java and rund thus on Win, Mac, and Linux. Sloeber is just a ready to install bundle comprising Eclipse v4 and Jantje’s famous Arduino plug-in for it.

  11. #11
    Senior Member
    Join Date
    Feb 2017
    Posts
    156
    Thanks for the help @Theremingenieur, I've managed to get Sloeber installed and configured -- including support for Teensy and ESP8266.

    Now, if you don't mind, just one more question. You mentioned:

    Quote Originally Posted by Theremingenieur View Post
    More is not needed, especially if you are used to working with workspace oriented IDEs.
    Well, I'm definitely not. So, I'd like a little advice on keeping things organized. When using the Arduino IDE I often make subfolders in my main sketch folder. These enable me to group together related sketches or different versions of the same sketch in a hierarchical manner.

    So, what's the equivalent of this hierarchy in the Eclipse world? Say I want to group together multiple versions of the same sketch so that I can always revert back to a previous one if I screw things up too badly along the way. Can I have multiple versions of the source code in the same project? Or, do I make a "sub workspace" under my main one and put an individual project for each version in there? What I'm trying to avoid is having a large, flat workspace structure that contains every sketch I've ever written all on the same "level". I prefer hierarchical organization.

    Thanks.

    PS - I've posted a similar question on the Arduino Other Software Development forum but have received no replies.

  12. #12
    Junior Member
    Join Date
    Feb 2018
    Posts
    1
    Sorry for the thread necro...
    Long time listener, first time poster.
    Just wanted to report that setting the paths per theremingenieur worked for me on Windows 10, Java 8, 64 bit, sloeber release 4.2

    Thanks for the info.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •