Go Down

Topic: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches (Read 125253 times) previous topic - next topic


Ok sorry, I explained it wrong, so let me start again.

Actual configuration:  I am running Linux mint 17 with kernel: 3.13.0
I have  arduino IDE 1.5.8, teensyduino 1.20 and eclipseArduino v2.4. I added to arduino IDE 1.5.8 all necessary files to make it work for teensy. following this tutorial:


my actual state with  TEENSY: I am able compile and upload my projects in eclipseArduino to teensy with teensybootloader - works as it should. What does not work, is compile project in arduino IDE. It returns following error:

Arduino: 1.5.8 (Linux), Board: "Teensy 3.1, Serial, 96 MHz (overclock), US English"

Cannot run program "/opt/arduino-1.5.8/hardware/teensy/teensy/tools/linux/arm-none-eabi/bin/arm-none-eabi-g++": error=2, No such file or directory

As this error says it  searches a file /teensy/teensy which,ofc, does not exists! I tried already some combinations where to save /teensy folder, but I never reached  successful compilation. I have to say this error does not bothers me, because I will never use Arduino IDE for developing. I will always use eclipseArduino which works correctly. I am giving you just information that it does not work.

my actual state with  ARDUINO DUE:

I can not upload project to arduino due(eclipseArduino arduino IDE), it writes error:
No device found on ttyACM0

I followed this tutorial: http://forum.arduino.cc/index.php?topic=148613.0
where they explain that before uploading to arduino due you have to set bound-rate to 1200 with following command:
stty -F /dev/ttyACM0 speed 1200 cs8 -cstopb -parenb

After using this command, I am able to upload ONCE my project but after,even I run again this command in terminal, I get always error No device found on ttyACM0

after executing commang ls /dev/tty* in terminal, I see that Linux see arduino due on port /dev/ttyACM0. Even lsusb sees my DUE:
Bus 003 Device 011: ID 2341:003d Arduino SA

I tryed to follows this tutorial :

I did not move with this error. I am not sure if I sated permissions correctly.

I hope after this explanation you will have more Ideas where is the problem on DUE + linux

Teensy/Teensyduino are not compatible with Arduino 1.5.8. You cannot even install  Teensyduino into Arduino 1.5.8 as it will not allow you to do it. If you want to use the Arduino IDE with Teensy, you need to install Teensyduino into Arduino IDE 1.0.6.
The Arduino 1.5.8 IDE is required for you to use Teensy with the Arduino Eclipse Plugin/IDE.

Also, the instructions you are referring to on my blog explain that the hardware folder can reside anywhere and does not have to be copied into the Arduino 1.5.x IDE. I personally actually avoid doing that so i don't have to redo all that when I want to test out a newer version of the Arduino 1.5.x IDE.



I am working with the Arduino Eclipse 2.4 IDE. When I create a new project it automatically creates .ino files.

How do I turn this off in cases where I prefer to work with .cpp/.h files ?




In the sketch creation wizard after the page where you have selected the board you can select your "template" (cpp ino custom template or example sketch). There you can also select "use selection as default".

Note that when you have selected a example setting the default will not save the example sketches you have selected. Only that you want to start from an example.

Best regards
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -


Aahh...cool. I've never seen that dialog as one step before you can already click "finish". Tanks for the tip!


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131