Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches

Okay solved my problems. I just have to tell eclipse to exclude the main.cxx file from build and it works !

On ubuntu we have the 0022 installed and your plugins works, really great job thanks a lot :)

One remaining question, where can I find on eclipse the output logs emitted by the Serial.print() command? thought I'd find it in the Console window but I failed.

turdusmerula You need a serial communication program with the eclipse plugin. I use the serial monitor from the arduino IDE. I'll make a todo to add this to the FAQ. Best regards Jantje

Jantje: You need a serial communication program with the eclipse plugin. I use the serial monitor from the arduino IDE.

Thats what I was doing ;) I use the cat command, it works far better than the arduino IDE in a good console emulator in Linux cat /dev/ttyUSB0 Just make sure that the bitrate selected in eclipse is the same than the one given in the Serial.begin(). Note that the cat must be killed before trying an new burn of the arduino.

turdusmerula

Txs for the linux tip on to use cat. I'm still working on the 1.0 compatibility. Best regards Jantje

All 1.0 compatibility is fixed. And I wanted this thread back on top 8) Best regards Jantje

Hello Jantje. I now only use your plugin as primary tool for my projects, it is pretty stable and very usefull :)

One thing i noticed, do not make a cancel during a burn of the arduino even if the burn is not working because the serial port remains locked (hard disconnect of the arduino seems to be enough to solve this).

And one request: would it be hard to offer the possibility to choose a different serial port for different project? for exemple to have a TX arduino project on serial 1 and RX arduino project on serial 2.

Do you know a plugin or third party tool I could use to remote debug on the arduino and do step by step?

turdusmerula txs for the update. I'll add your comment on cancel to the FAQ. As to your request. Have you tried it. I mean the latest version "Should" support this (the 1.0 compatible one). I haven't tried though. To make it work just change the project preferences->arduino->arduino for the 2 projects (not the libraries) to point to the correct com port. I have read numerous posts on debugging. as far as I understand it states: pay money or expect very low level support. Let me know if it works. Best regards Jantje

I've updated to your latest 1.1 and tested it again. I got the same behavior than previously, when I select a serial port it is set for all projects not just for one. I also tried to use a specific programmer configuration (preferences->arduino->AVRDude) for each project with an overrided serial port but the serial port used at the end is the one in preferences->arduino->arduino. This parameter seems to be at the workspace level even if we can set it at the project level isn't it?

turdusmerula I checked this in the code and indeed I use the last used upload port and not the upload port set in the project. I'll fix this. Best regards Jantje

All The comport issue is fixed in 1.1.3 In newly created project there will be a define ARDUINO that is equal to 0023 for version 23 and 100 for version 1.0 the version info is based on the content of the versions.txt file in the lib folder of arduino. This allows to do things like

if (ARDUINO >= 100)

include "Arduino.h"

else

include "WProgram.h"

endif

Best regards Jantje

Hi, and thanks for the guide…

I have followed the installations steps, and that works fine.
When I try to make a new project with my hardware >> Arduino Mage (AT mega1280) << I get an error messages : Failed to create project xxxxx , Path variable name cannot contain character: (.

After that it is not possibly to compile correct or uploade.
If I try to make a another project with a >> Arduino Uni << Hardware (I don’t have that board) , the project are created without any problems, and I can compile correct ?

What can I do ?

Happy new year.

Per

Hi per This is indeed an issue. I'll fix it in the next release but this may take a while. You can work around the problem by modifying the string "Arduino Mage (AT mega1280)" in the board.txt to "Arduino Mage AT mega1280". Best regards Jantje

Super, that works , but only for hit the next wall :cold_sweat: When I try to download, I get this error: >> avrdude: ser_open(): can't open device "COM17": The system cannot find the file specified. << I know that my COM port are COM17, and I am able to download via the “original” IDE Any ideas ? /Per

avrdude: ser_open(): can’t open device “COM17”

Have you tried using the verbose output from the IDE to see how it formats the name of the com port? There are issues with com port names when the numeric portion is greater than 9. Some sill combination of dots and slashes are needed to make windoze recognize com port names with 2 digit numbers. Bunch of morons in Redmond haven’t bother fixing the problem they have caused.

Hi,

On Mac OS X 10.7.2, with Eclipse Indigo Service Release 1 (Build id: 20110916-0149) and Arduino Eclipse plug-in 1.1.3, the following error message pops up every time:

What's wrong?

All Sorry for the long delay. I have been on a holiday and there was no network access.

Scarlsen Paul is right. I thought this was an AVRdude issue and as 1.0 contained a new avrdude; I assumed the prefix was no longer needed. Therefore the prefix was removed in 1.1.3. I reintroduced the prefix in 1.1.4. However this is not yet released. You have 2 options 1) You can create a link to my prerelease update site "http://www.baeyens.it/eclipse/prerelease" and get version 1.1.5 there. I'll release 1.1.6 somewhere next week. (undo this link in eclipse if you do not want to get my test versions ;-) ) 2) Add the prefix to your com port name. Change COM17 to \\.\COM17. You will have to undo this when you get a new version of the plugin.

avenue33 MAC OS is officially not supported in 1.1.3. See the end of the discussion at http://arduino.cc/forum/index.php/topic,70547.45.html. In short fixed in 1.1.5 prerelease.

Best regards Jantje

Hi; Every time i get this error. Description Resource Path Location Type Arduino.h: No such file or directory lcdTest.h /lcdTest line 9 C/C++ Problem

What can i do for fix it?

krsnsk Can you be a bit more precise? Which os are you using Which Arduino version are you using What have you been doing? Is this project including a library? Have you already been able to compile and upload? Have you gone through the faq?

Jantje

Sorry :)

Windows 7 x64 Eclipse IDE for C/C++ Developers Version: Indigo Service Release 1 Build id: 20110916-0149 Arduino 1.0 ide plugin v1.1.7

when i try to compile i get this error. i get same error at library and main program. no this is my first try.

And errors;

krsnsk First of all: You do not have to compile the arduino library. Eclipse takes care of that. It doesn't matter if you do ant it should compile. However: Secondly: You claim that the arduino library doesn't compile and you give me an image that shows a file "liquidcrystal.cpp" which is not part of your project nor part of the arduino library. Where does this file come from?

Are you trying to waist my time?