Go Down

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

gen2thomas

Now I have made some pictures of my running configuration (gentoo linux) to share with you, because I have found only pictures from Windows's and Mac's. Eventually someone could need this to getting started on linux.

Good Luck, Thomas

Jantje

Thomas
Thanks for the feedback and sharing the images.
For those watching the images. With version 2 of the plugin only the first image is valid. The other configuration pages originated from avrEclipse and no longer exist in V2.

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 -

gen2thomas

Hello Jantje, after some further playing around I have some questions and suggestions.

1.) Is there a possibility to configure the name of the automatically generated library f.e. "Arduino_Mega_2560_or_Mega_ADK" --> I would prefer the name "000b_ArduinoMega2560_Core". This will force the libraries to be listed on first position, before all other projects.

2.) Using "Serial Monitor View" give me only "/dev/ttyS0" (instead of "/dev/ttyACM0"), but "/dev/ttyS0" up to "/dev/ttyS3" is already in use on my linux box (eventually on all gentoo linux systems). Is this configurable or hard coded? Eventually you could add "/dev/arduino" in the search list? Than linux users could map any device using the udev rules to "/dev/arduino".

3.) Arduino-Configuration page, renaming suggestion: "test serial dll" --> "test serial library (rxtx)" would be better understandable for linux, mac and windows users

Again, Thank you for the great work! I had fiddling around with the old AVR-Plugin two days without success. Your's worked after 1 hour.

Let me know how I can help you improving the plugin.

Some ideas:
-testing with gentoo (at the moment only indigo is possible)
-write an wiki for gentoo users --> http://en.gentoo-wiki.com
-make some usability test (I'm an usability engineer) --> create issues at git
-translation to german language
-make some small bugfixes
-make a donation for an picaxe  :smiley-red:

Jantje

Thomas

1.) Is there a possibility to configure the name of the automatically generated library f.e. "Arduino_Mega_2560_or_Mega_ADK" --> I would prefer the name "000b_ArduinoMega2560_Core". This will force the libraries to be listed on first position, before all other projects.

Version 2 no longer has a separate Arduino project. There is a Arduino folder in each and every sketch and a library folder containing the imported libraries. If this is really important I would advice to go to V2. However this functionality relies on CDT 1.8.1 which needs Juno.
The only option I can think of is to download the code and do the mod yourself.
https://github.com/jantje/arduino-eclipse-plugin/blob/master/it.baeyens.arduino.common/src/it/baeyens/arduino/common/ArduinoConst.java
Code: [Select]
public static final String CoreProjectNamePrefix = ""; //used to be arduino_ but when chaging from MCU to board replaced by nothing
As you are using version 1.2.4 you do not want this version but the one tagged with Release 1.2.4



2.) Using "Serial Monitor View" give me only "/dev/ttyS0" (instead of "/dev/ttyACM0"), but "/dev/ttyS0" up to "/dev/ttyS3" is already in use on my linux box (eventually on all gentoo linux systems). Is this configurable or hard coded? Eventually you could add "/dev/arduino" in the search list? Than linux users could map any device using the udev rules to "/dev/arduino".

I know what you are talking about  :~
This is actually a rxtx feature. Arduino has its own version of the rxtx dll. The problem you mention is a Linux only issue and has recently been discussed on the developers list. The only correct way to find the serial devices is to look at /dev/serial. The Arduino team is looking at https://github.com/ffissore/java-simple-serial-connector as a replacement for rxtx. I have not yet (and I'm not planning to) look at what the impact will be on the eclipse plugin.
Workaround is to add following line to your eclipse.ini file
Code: [Select]
-Dgnu.io.rxtx.SerialPorts=/dev/ttyACM0:/dev/ttyACM1:/dev/ttyACM2:/dev/ttyACM3:/dev/ttyUSB0:/dev/ttyUSB1:/dev/ttyUSB2:/dev/ttyUSB3:/dev/ttyUSB4:/dev/arduino


3.) Arduino-Configuration page, renaming suggestion: "test serial dll" --> "test serial library (rxtx)" would be better understandable for linux, mac and windows users

Is your objection against the word dll or the lack of rxtx.



Let me know how I can help you improving the plugin.

Some ideas:
-testing with gentoo (at the moment only indigo is possible)
-write an wiki for gentoo users --> http://en.gentoo-wiki.com
-make some usability test (I'm an usability engineer) --> create issues at git
-translation to german language
-make some small bugfixes
-make a donation for an picaxe  :smiley-red:

Help is welcome. There are however some things to keep in mind.
1) I'm not planning to release any more V1 versions (Normally Arduino IDE 1.0.3 should have been the last V1 Arduino IDE release.)
2) V2 is a complete rewrite (both for my plugin as for the Arduino IDE)
3) I have not foreseen translation functionality in the plugin.
4) Due to health constraints there is no time for me to spend on the plugin in the coming months. Even adding a picaxe donation button will have to wait.

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 -

gen2thomas

#204
Mar 26, 2013, 08:18 pm Last Edit: Mar 26, 2013, 09:06 pm by gen2thomas Reason: 1
Hello Jantje, Thank you for your answers!
I will test your suggestions to solve my little problems.

Quote
Q: 1.) Is there a possibility to configure the name of the automatically generated library f.e. "Arduino_Mega_2560_or_Mega_ADK" --> I would prefer the name "000b_ArduinoMega2560_Core". This will force the libraries to be listed on first position, before all other projects.
A: The only option I can think of is to download the code and do the mod yourself.
Now I have modified a little bit the file "Boards.txt" (/usr/share/arduino/hardware/arduino/) which is used to generate the names. Sketch was compilable, downloadable and seems to work.

I would advice to go to V2. However this functionality relies on CDT 1.8.1 which needs Juno.

Yes, that is an problem actually for gentoo users - unfortunately there is no official release for eclipse Juno. Also the Indigo, I'm using, is from an overlay (seden) but quite stable. For the future do you plan to separate the V1 and V2 update site or is this already the case? If yes, how to use it?

The problem you mention is a Linux only issue and has recently been discussed on the developers list.
Please can you post an link to follow this discussion.

Is your objection against the word dll or the lack of rxtx.
The word 'dll' is the name for the file extension/suffix of the library used in windows environment (Dynamic Link Library?). Linux and possible Mac users don't know about that (linux extensions are f.e. ".a", ".so" for libraries).

Even adding a picaxe donation button will have to wait.

Oh sorry, this was only a joke. I hope your answer also.

Help is welcome.

HOW can I help you? Please give me some notes.

Best regards, Thomas

Go Up