Eclipse and Teensy 3

Status
Not open for further replies.

pkourany

Active member
Has anyone installed Eclipse with Teensy 3 support on Win 8? When I follow THIS THREAD, everything installs ok but when I go to configure the C++ build options, the ARM Yagarto Windows GCC C++ Linker does NOT appear in the toolchain. I tried this on a Win 7x64 computer and the same thing happens!

Later in the same thread, someone outlined an install for Win 7x64 but it uses Java and Cygwin. Does anyone have a SIMPLE way of getting the Teensyduino 1.16 toolchain (installed in the Arduino 1.05 IDE) and (some version) of Eclipse working on Win 8x64?

Thanks!
 
There is an Arduino Eclipse Plugin that also supports Teensyduino 1.15. It may support 1.16 or even 1.17 but I have not tested it yet.

I wrote installation instructions for the Mac OSX platform but there is really very little mac dependent content in the instructions.

Follow This Link
 
Thanks for the reply! I Tried it with latest nightly release of the plugin which is the only download I could find. The download was a ready-to-go eclipse setup. However, I could not get it to load an existing sketch without a ton of errors. It REALLY is more of a hassle than anything. I know some people have this working but with so many different version sensitivities it really isn't worth it for me. Thanks for your help!
 
There is no nightly release of the plugin.
It also only "downloads" through the Eclipse installation process described in detail in the installation instructions.
There is on direct download.

Did you actually read and follow the installation instructions ?
That would help reducing the hassle ;-)
 
When I downloaded the nightly and realized that it included the plug-in already, that's where I stopped with the instructions. Right now, I don't want to spend a lot of time figuring out eclipse but after my project is done, I will definitely give it a second chance. And at that point, I WILL follow you instructions :)

Thanks!
 
I followed part of your link HERE. Then at the bottom, I followed the NIGHTLY BUILD link and downloaded the latest Win 32 version. The file includes the full Eclipse Juno SR2 install AND the Arduino plug-in.

Hope that helps clarify!
 
It does clarify that you did not follow the link to the instructions that I provided.
The links you are referring to are from Jantjes website/blog. Jantje is the Author of the Arduino Eclipse plugin. I am not, even though I helped a little with the testing of the Teensy integration and the Mac platform stuff.

These nightly builds represent an entirely new software that he and others are collaborating on and it is no surprise that it may involve some tinkering as it is Pre-Beta. This is not the plugin that I am referring to!

The current stable ( for lack of better words) version should not require a lot of " hacking" to get things to work and can be installed in less than 10 minutes. I've done this successfully on Mac OSX, windows and Linux. I do all my programming with it and don't use the Arduino IDE at all.
 
I so appreciate your commitment! I will retry the install by carefully FOLLOWING your instructions (!!) and letting you know how it goes for me.

Stay tuned!
 
I installed EXACTLY as per instructions - Arduino IDE 1.52 Beta, Eclipse June SR2 + Arduino plugin as instructed. Then loaded a sample project for the CC3000 wireless module and the Teensy 3. Once I got the libraries figured out and refreshed the project, I ended up with one error:

Description Resource Path Location Type
make: *** [arduino/HardwareSerial1.cpp.o] Error -1073741502 C/C++ Problem


Then, when I went to run the Arduino/Verify command and got this error:

arm-non-eabi-g++.exe Application Error
The application was unable to start correctly (0xc0000142). Click OK to close the application


Just in case, I am using Win 8.1 x64.

:confused:
 
Have you been able to get a simple blink program to compile, upload and function on the Teensy3 ? That would help narrowing the problem down.
Also, I don't believe the refresh button does much. Right click and "clean" will remove all compiled files. Then you can click on "Verify" and and recompile everything from scratch.
 
Last edited:
Good point! I had tested extensively with IDE 1.05 but not 1.52. So I first compiled blink with the IDE 1.52 without errors. Then I created a project in Eclipse and copy/pasted the blink code to the project and tried to verify it. This is what I get:

error.png

Any thoughts?
 
It looks to me that the arm-none-eabi.exe simply crashes. I would suggest you post this in the Plug in specific Arduino forum thread HERE.

There may be more Windows users around there that have encountered this. Also Jantje the Author of the Plugin frequently answers posts there and may be able to help you. Although he's a Linux guy ;-)
 
Great! So the solution was pretty straight forward based on Deiter-W's comments. I had just installed Arduino IDE 1.5.5 and copied "msys-1.0.dll" in hardware/tools/avr/utils/bin over to the same directory in the IDE 1.5.2 setup to work with Eclipse and VOILA! Now if the plugin can be updated to work with 1.5.5.... :)

Thanks!
 
Excellent! Glad it worked out for you!

Whether Jantje will continue the existing plugin is another question. I know that he is working on an Eclipse product that includes ... everything so no extra downloads are necessary. However, I have followed some discussions on the Arduino Google developers list where it became clear that the changes the Arduino developers made to 1.5.4 made it vey difficult to support it by 3rd party developers. I am hoping that the 1.5.5 release is better in that respect.

I think I'll just ask Jantje ;-)
 
Status
Not open for further replies.
Back
Top