Eclipse C++ IDE for Arduino (No longer maintained, see details)

Details Group Tabs
Date | Ranking | Installs | Clickthroughs |
---|---|---|---|
January 2021 | 111/896 | 442 (0.14%) | 22 |
December 2020 | 105/919 | 622 (0.15%) | 17 |
November 2020 | 98/925 | 738 (0.16%) | 27 |
October 2020 | 112/927 | 622 (0.13%) | 20 |
September 2020 | 148/894 | 386 (0.09%) | 14 |
August 2020 | 172/867 | 228 (0.06%) | 25 |
July 2020 | 182/870 | 231 (0.06%) | 15 |
June 2020 | 186/867 | 232 (0.05%) | 18 |
May 2020 | 171/876 | 315 (0.06%) | 38 |
April 2020 | 140/891 | 512 (0.1%) | 42 |
March 2020 | 123/892 | 660 (0.12%) | 28 |
February 2020 | 120/885 | 622 (0.13%) | 31 |
Unsuccessful Installs in the last 7 Days: 4
Count | Error Message |
---|---|
2 | Cannot continue the operation. There is another install operation in progress. |
2 | Cannot complete the install because one or more required items could not be found.... |
Friday, January 22, 2021 - 08:28
Reviews Sign in to post reviews
Installation Location
Submitted by Nick Cameron on Mon, 2016-04-04 17:07
Sorry if this is a silly question, I'm not an Eclipse expert. Is there a way to change the location of the .arduinocdt install? I'm installing on a Windows 10 machine, and its putting it into C:\Users\Nick Cameron\.arduinocdt folder. I think that the space in the path is causing issues because I'm having problems downloading the ESP8266 board, and subsequently building anything causes an error.
As I mentioned on the YouTube
Submitted by Doug Schaefer on Thu, 2016-04-07 15:39
As I mentioned on the YouTube page, the location is currently hard fixed. I'll make sure to add a preference, so you can change the location. I'll also try to see if I can quote the files in the Makefile to handle the spaces in this case. If I can do it automatically, that would be better.
Great plugin, brute-force fix for libraries
Submitted by Arkadiusz Gala on Fri, 2016-04-01 17:50
Hey, I really like Your plugin. Arduino IDE is a bit hell-ish for me, to work on. Always wanted to make a jump to eclipse, and with Your IDE it's easier than before. I really like what You did there, because to me it seems like You merged what was best between Eclipse and Arduino IDE :)
Just a quick tip for people struggling with ESP libraries. I did have problem with example sketches compiling in Your IDE. I wanted to test wifi mesh example "HelloMesh". The problem was, that even though Eclipse downloaded the libraries, they weren't used. I've looked into the .arduinocdt/packages/esp8266/hardware/esp8266/esp8266/2.1.0 and "arduino.h" which is compiling is loaded into "cores" folder. All libraries are in "libraries" folder... so I basically copied contents of src folder of libraries that interest me (ESP8266WiFi and ESP8266WiFiMesh) and... voila! no problem anymore.
If this functionality were to be automatic like in Arduino (that all libraries are accessible with short #include ) it would be perfect - but so far, this is enough to me! :)
Problem building when there's a space in the path to the project
Submitted by John Wilson on Tue, 2016-03-22 07:22
Hi Doug!
I'd love to use Eclipse to develop for my Arduinos but but there's a problem with my system (Mac running OSX 10.11.3). My disk is called HD 1 - the space breaks the build process:
Building Test1
make: *** No rule to make target `/Volumes/HD', needed by `uno/platform/cores/arduino/abi.cpp.o'. Stop.
Is there a work around?
Also would you consider adding Tennsy (www.pjrc.com/teensy/teensy31.html) to the default set of supported boards? I'm sure I could figure out how to add it myself but it would be nice to have it installed automatically.
No spaces
Submitted by Doug Schaefer on Tue, 2016-03-22 11:01
Thanks! Yes, you've run into one of the biggest issues with building C++ projects and that's problems with spaces in file names. It makes it very hard for make and the shell to parse command lines. There may be things I can do in the generated Makefile that could help. Please raise a bug in the link I have above.
Once I get things in good shape, I'll take a look at adding all the URLs listed in Arduino's 3rd party boards listing. Not sure teensy is there, but it's one of the first 3rd party boards ever built so should be.
No Spaces
Submitted by John Wilson on Wed, 2016-03-23 04:51
Hi Doug!
I raised a bug yesterday (Bug 490191). I think I found why the specific error occurs - it's an unquoted path in the makefile - details added to the bug report.
I've just noticed this at the top of the generated makefile:
ifeq ($(OS),Windows_NT)
SHELL = $(ComSpec)
RMDIR = rmdir /s /q
mymkdir = if not exist "$1" mkdir "$1"
else
RMDIR = rm -fr
mymkdir = mkdir -p $1
endif
shouldn't the last $1 be quoted too?
Cheers
John
Very userfriendly installation, but not working for me
Submitted by Jeroen Lankheet on Thu, 2016-03-17 05:25
Thanks for the plugin. Installation and configuration was a breeze. I really like the near-zero configuration. I was able to compile most of the Arduino code that don't need external libraries.
However, I can't get anything sent to my Wemos D1 mini, or NodeMCU. It refuses to accept a different board. It moves back to Lilipad each time. And I get NPE's all the time. Deleting projects is not possible. And including a DHT library does not work. It won't compile my DHT code.
OS: Fedora 23, Eclipse Mars CDT, 64bit platform.
I would be happy to provide detailed steps, if required.
Not able to build a project
Submitted by J C on Tue, 2016-03-15 08:33
HEllo, I think this is a great initiative to suppport arduino from Eclipse, keep doing it!
On the other side, I have followed the video, but I still get two issues
1. I cannot build my project since it does not find Arduino.h libraries... How/Where can I include the library since the plugin hides the compiler options field under C/C++ tab.
2. If i manage to solve the dependency, I get into the following error
Errors occurred during the build.
Errors running builder 'Arduino Builder' on project 'hello'.
'other' is different type of Path
I don't know where is this coming from, I use windows7
tthanks
I could figure out the
Submitted by J C on Wed, 2016-03-16 05:57
I could figure out the problem number 2, on windows you need to install avr mingw, and later it is needed to install "make" on hardware/tools/avr/utils/bin under Windows.
REgards
Can't build the project and download to my Arduino Due board
Submitted by Jacek Rzepecki on Mon, 2016-02-15 19:25
Dear Doug,
I'm having trobles running your fantastic eclipse plugin for Arduino.
I did everything according to your video guide but without luck.
First:
Can't compile the code for my Arduino Due board. After a while, I managed to build it by adding one variable to the platform.txt file:
build.system.path=c:/Users/Jacek/.arduinocdt/packages/arduino/hardware/arduino/sam/1.6.6/system
Then, I managed to get the same effect by adding the variable into Eclipse -> Window -> Prefferemces -> C/C++ -> build -> Build Variables
I did another change in the platform.txt file changing the:
"{build.path}/core/syscalls_sam3.c.o"
into:
"{build.path}/platform/cores/arduino/syscalls_sam3.c.o"
After those changes I was able to successfully build the "blink" project.
But Stil can't upload to my board.
Seems like Eclipse can't find the Arduino.h file and project is full of errors (there must be another path variable issue)
Additionally, I'm getting an error message when clicking "Lauch" button:
"No device found on {serial.port.file}"
Please help.
Jack
Indexer error on fresh install
Submitted by Jeff Cann on Sun, 2016-02-14 18:27
Hello Doug,
The plug-in looks fantastic (in the videos). I'm trying to get this set up and running, but each time I create a new Arduino project (or start Eclipse with after the plug-in is installed) I get the following error:
An internal error occurred during: "C/C++ Indexer".
java.lang.NullPointerException
I'm running on Mint 17.3 (with Oracle JDK 8).
I've also been able to reproduce this error on a clean Ubuntu 15.10 live image. (boot image on USB, install OpenJDK 7, download and run Eclipse IDE for C/C++, add plug-in from market-place, create new Arduino project).
I've seen a lot of posts that suggest deleting existing *.pdom files created by the indexer, but this doesn't help.
Any ideas?
Regards,
Jeff.
Simple extension fails...
Submitted by Randall Young on Thu, 2016-02-11 15:51
This one has me stumped, I'm really enjoying this new take on the Arduino IDE, but when I extend my test blinky very simply...
#include
#include
SoftwareSerial mySerial(10, 11); // RX, TX
void setup() {
// initialize digital pin 13 as an output.
pinMode(13, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
mySerial.begin(4800);
mySerial.println("Hello, world?");
//delay, indicate
digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(13, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
It can't find the SoftwareSerial.h file.
I've tried all sorts of fun stuff, including the files in the local project directory, adding an include path statement, and other logical things. I must be missing something simple. I guess my question is how to add a library more generally...
Thanks for outstanding effort!
R.
Problem with selecting serial port
Submitted by Bart Boelaert on Tue, 2016-02-09 15:14
Hi,
Very nice plugin - Plug & Play I would say!!!
During my first try-out, I saw that you cannot enter another serial port than /dev/ttyUSB0, /dev/ttyUSB1 and /dev/ttyUSB2.
My Arduino Ethernet is connected to /dev/ttyACM0.
So when I try to run it, avrdude always tries to upload the sketch to /dev/ttyUSB2.
Would it be possible to correct this?
Thanks in advance!
Bart.
Sorry about that Bart. In
Submitted by Doug Schaefer on Wed, 2016-02-10 22:26
Sorry about that Bart. In recent releases, I've enabled the serial port selection to be a text box so you can enter any port. I thought we also added support for ttyACM0. Do you have the latest? Try "Check for Updates" from the help menu.
Still serial port issues
Submitted by Bart Boelaert on Thu, 2016-02-11 09:35
Hello Doug,
I checked for updates but Eclipse couldn't find one. Below are the versions that I have on my system :
Arduino C++ Tools - Preview 8.8.0.201512282018 org.eclipse.cdt.arduino.feature.group Eclipse CDT
Remote Command Shell Console 2.0.1.201508262001 org.eclipse.remote.console.feature.group Eclipse PTP
Serial Port Remote Services 2.0.1.201508262001 org.eclipse.remote.serial.feature.group Eclipse PTP
The the Connection properties dialog still shows a ComboBox where I can overwrite e.g. /dev/ttyUSB0 by /dev/ttyACM0, but that value doesn't get stored when hitting "Apply".
I also saw that the value of "Board Type" is not saved. On my system it goes back to "LilyPad Arduino USB".
I would send you some screenshots to clarify my point, but this interface does not allow me to.
Kind regards,
Bart.
Nice Plugin, but...
Submitted by Guenter Jung on Fri, 2016-02-05 19:21
I would really love this plugin,
but as of version 8.8.0.201512282018 the esptool is always called with
the reset method "ck", and not with the one which is selected in the connection settings.
So sadly I currently cannot use it for my NodeMCU boards.
Pretty sure this get fixed with one of the next versions.
Despite of this its a very promising plugin.
Thanks for your work!
esptool
Submitted by Doug Schaefer on Wed, 2016-02-10 22:34
Yes, I needed that to get my ESP8266 board to load. I'm using the Adafruit Huzzah. I'll take another look. I've created bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=487634 to track.
I just installed eclipse Mars
Submitted by Don R-Crenshaw on Fri, 2016-02-05 11:51
I just installed eclipse Mars 1(Release 4.5.1) and your IDE (1.0) on a fresh Linux Mint 17.3 install. I cannot populate the boards field in preferences so I tried selecting a few platforms based on the three default JSON files. They appeared to install but no boards appeared on the boards list. I tried all the usual turn it off/on uninstall/reinstall mumbo jumbo but with no success. Please advise and thanks for what should prove to be a great plug-in.
Platforms is the correct page
Submitted by Doug Schaefer on Wed, 2016-02-10 22:37
Hmm, I'm not sure. The key is to wait for the download of the platforms to complete. You can see the progress in the Progress View. Also check the contents of the .arduinocdt directory in your home directory to make sure stuff gets there.
But yes, the Boards page is deprecated and will be removed in the 2.0 release in June. The Platforms page is the correct one.
Cannot get it to Run
Submitted by Marvin Greymore on Sat, 2016-01-16 10:40
Sorry if this is a duplicate but the last one I wrote seems to have gone missing.
Downloaded JRE-8, Mars on a PC that had never seen Eclipse before. I followed your tutorial on youtube, albeit a little outdated but still close to the reality. All good up to the point where I was about to Launch. The first box had "---" the second the name of the program and the third had "---"
Your video had "Run" in the first box. The third box I dropped down and it showed "New connection." I already had followed the video and created two connections, but clicked and created another connection.
Never could get "Run" or the Connection to appear in boxes one and three so I could not get anything resembling a run. However it did **report** "Build" OK in the Console, but I could not get it to download to the Arduino so no way to know for sure.
As a programmer of 35+ years, you plug-in builders need to test these things on computers that have NOT had Eclipse installed before. Obviously your demo video is using a lot of stuff already configured within Eclipse and at an educated guess that is why this and the other Arduino plug-in I tried yesterday on another PC failed for a bunch of reasons.
Very frustrating and a waste of time. You need to ask yourself how many others have tried the plug-in and failed and not bothered to report back. As terrible as the Arduino IDE is, at least it compiles and uploads out of the box.
p.s. I read a previous comment and you said "report bug at link in description." What link?
New Install will not run
Submitted by Marvin Greymore on Sat, 2016-01-16 10:37
Downloaded JRE-8, Mars on a PC thta had never seen Eclipse before. I followed your tutorial on youtube, albeit a little outdated but still close to the reality. All good up to the point where I was about to Launch. The first box had "---" the second the name of the program and the third had "---"
Your video had "Run" in the first box. The third box I dropped down and it showed "New connection." I already had followed the video and created two connections, but clicked and created another connection.
Never could get "Run" or the Connection to appear in boxes one and three so I could not get anything resembling a run. However it did **report** "Build" OK in the Console, but I could not get it to download to the Arduino so no way to know for sure.
As a programmer of 35+ years, you plug-in builders need to test these things on computers that have NOT had Eclipse installed before. Obviously your demo video is using a lot of stuff already configured within Eclipse and at an educated guess that is why this and the other Arduino plug-in I tried yesterday on another PC failed for a bunch of reasons.
Very frustrating and a waste of time. You need to ask yourself how many others have tried the plug-in and failed and not bothered to report back. As terrible as the Arduino IDE is, at least it compiles and uploads out of the box.
p.s. I read a previous comment and you said "report bug at link in description." What link?
Optiboot
Submitted by Kevin Ross on Sat, 2016-01-16 07:01
Hey guys, really liking this plug in. Recently I changed my boot loader to optiboot on my Arduino nano and uno. In the arduino IDE I can see my optiboot board but in Eclipse I can't. Any help is greatly appreciated.
Thanks
KR
That must be new.
Submitted by Doug Schaefer on Wed, 2016-02-10 22:42
Haven't heard of that. I'll have to see if it's available in the package.json files. Might be a piece of UI that I'm missing. I've raised https://bugs.eclipse.org/bugs/show_bug.cgi?id=487635 to track.
Mumble mumble
Submitted by Rlogiacco@gmail.com Lo Giacco on Wed, 2015-12-09 18:05
As a secondary contributor to the Arduino Eclipse Plugin I don't understand why the efforts cannot be combined instead to compete...
You guys are more than
Submitted by Doug Schaefer on Wed, 2015-12-09 20:05
You guys are more than welcome to contribute to the Eclipse CDT project where this is hosted. The idea is to not compete but to build an Arduino IDE using the very latest CDT frameworks for build and launch and to do it at Eclipse approved by the Eclipse legal team licensed EPL so we can distribute it as a part of the Eclipse IDE. I would love if you could join us in that adventure.
That's unclear
Submitted by Rlogiacco@gmail.com Lo Giacco on Thu, 2015-12-10 05:08
To me this appears as "you are welcome to discard your efforts and contribute to what I've done" which isn't the collaborative approach I was hoping for.
In my humble opinion, if the licensing was a problem and you had the opportunity to bring Arduino into the Eclipse ecosystem, a far better approach would have been "hey guys, your plugin is great: what if we do it another way and get into the official Eclipse ecosystem together? I can help...".
Now, I'm not the main developer but just a side contributor so I'm just stating my personal opinion (in no way official or representative of anything other than myself) and I don't even know if any of the above has happened, but I'm disappointed to see this fragmentation.
The Arduino C++ IDE is a
Submitted by Doug Schaefer on Thu, 2015-12-10 20:01
The Arduino C++ IDE is a showcase for the new CDT build and launch framework and other new Eclipse frameworks. It's a totally different code base and not much of what you guys have done could be carried over. And, yes, GPL. I've discussed that with Jan. For projects hosted at Eclipse it's a non-starter. The Eclipse legal team are pretty clear on that. But again, you guys are free to take a look at what we've done in the CDT to support Arduino and build on top of it or help with it. I can only justify spending time on this if it's to improve CDT while doing it so that's where I'm spending my limited time.
Great plugin
Submitted by Paulo Alcobia on Tue, 2015-11-10 13:06
But I cant program the Arduino micro.
-----------------------------------------------------------------------------------------------------------
.....
Programmer Type : butterfly
Description : Atmel AppNote AVR109 Boot Loader
Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding
Upload complete
-----------------------------------------------------------------------------------------------------------
first the IDE or some script must set the corresponding COM port (in my case COM14) to 1200bpd, then open and close the port. Then COM14 will desapear and another COM port will appear after a few secconds ( in my case COM12 appears after 3 seconds). The IDE should then detect this COM port and launch AVRdude with the following command line:
avrdude -Cavrdude.conf -v -v -v -patmega32u4 -cavr109 -PCOM12 -b57600 -D -V -Uflash:w:hex.hex:i
hope it helps,
Paulo
Please raise a bug using the
Submitted by Doug Schaefer on Wed, 2015-12-09 20:07
Please raise a bug using the link in the description so we can track the issue.
Awesome Plugin. Loving it.
Submitted by Faisal Iqbal on Thu, 2015-10-15 19:20
Hello,
First, big thanks for developer for bringing in pretty good plugin for Arduino. The setup process is awesome, it downloads Arduino related stuff itself based on selected boards in settings. This makes it the easiest Eclipse IDE plugin for Arduino.
I tried it with Mini Pro and it worked on first try. I tried it with ESP8266 (ESP-12E) based board and it worked, but there are some issues. Basic sketch compiles, but it mixes libs from AVR platform.
There's one thing I failed to find, which I think is not implemented yet. Serial Monitor. After uploading / flashing the sketch on board, there's no way to see debug messages devs normally write on Serial to see if the sketch is working alright. I hope it will be implemented in coming updates.
I am using Arduino ESP platform which integrates with Arduino 1.5+ via Boards Manager. But there's a minor library path issue which I like to report so it could be fixed in next update.
After selecting the ESP platform in Arduino Connection settings, the basic ESP sketch compile and upload to ESP-12 without issue. But when I include SPI or Wire libraries, this plugin passes the Arduino's AVR SPI and Wire library paths to ESP compiler, which fails. You can reproduce is simply by including these libs in your sketch and compiling.
Also, it would be great to have an option to have custom libraries specific to current project. I.e. ESP works with most Arduino libs, but for some it needs tweaking in libs. So, with project level libs, developer can put tweaked libs in project folder.
I'd love to connect with developer on Twitter or via email so I can share some more feedback.
Keep up the good work!
// chall3ng3r //