Now Available: The Eclipse C++ IDE for Arduino

Back in October, I released the preview edition of the Arduino C++ IDE and the response has been fantastic. I had something like 50 bug reports and lots of questions on every forum imaginable. That great feedback gave me a lot of incentive to fix those bugs and get a release out based on the work we’ve done in CDT for the Eclipse Neon release. And that is now done and available on the Eclipse Marketplace.

What’s new in this release? Well, a name change for one. I wanted to highlight that this is an Eclipse CDT project effort, not necessarily an Arduino one, so I’ve renamed it to the “Eclipse C++ IDE for Arduino.” This fits in with our strategy moving forward of providing more vertical stack support for different platforms. Expect another marketplace entry for the Eclipse C++ IDE for Qt in the next release or two, for example.

But what matters to users is usability, of course. The main new feature in this release is the Arduino Download Manager available in the Help menu. It provides a dialog that guides you through download and install of Arduino Platforms and Libraries. The metadata provided by the Arduino community has been hugely beneficial in letting me build Arduino support into CDT in such a way that new boards and libraries can easily be added. And this new dialog is your gateway into that community.

Screen Shot 2016-07-18 at 12.14.21 PM

I’ve also done a video as an introduction. It’s only 11 minutes but walks you through installation to having an Arduino sketch running on your board outputting to the Serial Console.

As always, I love to hear from users either through forums or bug reports, especially bug reports. I have things set up to quickly get fixes to users through it’s own p2 update site. Always try Help -> Check for Updates to get the latest.

11 thoughts on “Now Available: The Eclipse C++ IDE for Arduino

  1. an.on.ym

    Thank you, Doug. This was a very good read and I liked your video a lot.
    How would that connection be made under Linux? Can’t seem to find out how to enter the serial port connection.

  2. LarsWH

    Hi Doug,

    Great work on CDT and really nice tutorial too 🙂

    I followed your instructions, but when trying to upload to my Uno nothing happened. When running avrdude.exe manually it reports “The program can’t start because libusb0.dll is missing from your computer. Try reinstalling the program to fix this problem”.

    A search for libusb0.dll on my newly installed Win10 computer gave 0 hits, so I ended up downloading the IDE from http://www.arduino.cc. After this, I had 4 (!) copies of libusb0.dll on my PC, but still avrdude.exe could not find it.

    I ended up manually copying libusb0.dll to my avrdude binary folder (c:\Users\lars\.arduinocdt\packages\arduino\tools\avrdude\6.3.0-arduino2\bin) and now everything seems OK.

    Kind regards,
    Lars

  3. edave63

    New to Eclipse, been working with Arduino for a while. I need to add the genieArduino library from 4D systems. It’s not on the list. Is there a work around or what would you suggest?

      1. Doug Schaefer Post author

        Whoops sorry about that. Saw your question in the list and was thinking if I could come up with an answer and forgot to approve it.

        In theory, if you have the library with the library.properties file in it, you should be able to extract it to the .arduinocdt/libraries directory and it should get picked up. You might have to do a restart. I haven’t tested this but I wrote the library handling to account for it.

        If you don’t then you’re running into a missing feature and that’s supporting library projects, or some way of adding them manually.

        1. edave63

          I think adding the libary did work… Still working out issues with the code but no longer getting the library errors as before.

          Did have some issues getting the directory structure right, partly due to a hidden character in a filename caused by cut & paste from the Eclipse screen. A spec for directories would be helpful. Had to gin up a .json file for the genieArduino library and add a block to the library.properties file. Then the library showed up on the list in Eclipse project properties -> Libraries lists. It was listed under Communications, don’t quite understand that part.

          The code compiles and uploads to the Arduino (Mega) but the setup() code doesn’t get executed. Something about no main() maybe. I’ll try moving all other functions out of the primary .cpp file so that only setup() and loop() remain and all other function or class code lives in separate files.

          Do you think this experience might be of interest on the CDT forums? I will write up my own how-to. Don’t know what things might be useful to others.

          Thanks for the response and the great tools!

  4. slowhandweb

    Hi Doug,

    I’m new to CDT development and am trying to create a plugin to support a new embedded build target similar to what you have done for arduino. Where can I view/download the source code for your arduino plugin? Also do you recommend any books or websites for someone learning to develop CDT plugins?

    Thanks!

Leave a Reply