Go Down

Topic: Arduino Eclipse Plugin <Update> (Read 69 times) previous topic - next topic

Jantje

Scott, spindoctor
I'm glad to hear it's working. That is another platform tested  :D
Just like Scott does I avoid adding stuff to existing Arduino folders and only reference files and folders.
From the top of my head: the eclispe plugin only references files ( AVRDude, GCC, revisiosn.txt and board.txt) and folders (the Arduino library folder and the variants subfolders).
One of the reasons why I have special Linux and Windows code is because these locations are different on these 2.

Best regards
Jantje
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 -

Scott H

Ok, I think I found the problems:

1) The Debian package installed old historical files (from arduino 0017) that existed before I got there. I cleaned them out.

2) Debian package is 1.0, and WProgram.h has been renamed to Arduino.h. So line 9 of the *.h needs to be updated in the Eclipse plug-in. Those are the new errors now that Makefile clobbering is fixed.

3) pins_arduino.h doesn't exist in the same place in 1.0 as it did in 0022, which you already brought up at http://arduino.cc/forum/index.php?topic=82200.0


In conclusion: I've fixed the Debian Arduino package so there are no more Makefile clobbering. However, version Arduino 1.0 seems to be incompatible with the Eclipse plug-in. Debian uses 1.0, so the Eclipse plugin won't work with the debian package for that reason.

Spindoctor

#32
Dec 19, 2011, 12:52 am Last Edit: Dec 19, 2011, 12:54 am by Spindoctor Reason: 1
Without being an expert for the Eclipse-plugin (neither I am for the Arduino IDE), I think the Eclipse plugin works well with Arduino IDE 1.0.

At least I downloaded the IDE from here: http://arduino.googlecode.com/files/arduino-1.0-linux64.tgz and stored it to a different folder. The Eclipse plugin seems to work well with this.

Jantje

Indeed the newest version is 1.0, 0022 and 0023  compatible.
Best regards
Jantje
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 -

Scott H

#34
Dec 19, 2011, 03:14 am Last Edit: Dec 19, 2011, 03:30 am by Scott H Reason: 1
Ok, got it totally working ubuntu and debian. I'm uploading to debian (and thus ubuntu now).

I just had to uninstall then reinstall the eclipse plug-in after I did the fix to the debian package. I'm compiling them together now. Thanks for your work on the plug-in!


[edit]: To tell users that want to use debian packages, all they have to do is install the arduino-core package and then point the eclipse plugin to the arduino directory /usr/share/arduino

Go Up