Eclipse Foundation Member
Eclipse C++ IDE for Arduino

Add this URL to your Eclipse Installation to reach this solution's update site.

2018-09 (4.9)
Photon (4.8)
Oxygen (4.7)

Neon (4.6)

Learn more...

Details Group Tabs

Wednesday, November 14, 2018 - 06:58
kdinsmore's picture

I installed the c++ version of Eclipse, Eclipse c++ IDE for Arduino 3.0 and the Arduino AVR board platform.  When I start a new Arduino project, enter a name and use the default location, the Finish button enables, but when I press it, nothing happens.  The same setup on Windows works fine.  Is the Mac version still a work in progress?

Thank You

bgenis's picture

Hello there,

I'm experiencing the same thing as well on my MAC. Some help will be appreciated.

Thank you in advance,


jvoisin87v's picture

I have installed Eclipse Oxgen and plugin and it's not work.Bug for arduino.h ; why? I installed and it is not functional; why do not many people say that it does not work? can you get your job done? Thank you

htranvk6's picture

How to add esp8266 to plugin?

dschaefer's picture

I would love if someone would contribute to this open source project and add Arduino Library support. If you're interested raise a bug and we can start the discussions there.

dmllerkms's picture

I miss the funktion to create Arduino Libraries. 

aschliebner's picture

There seems to be not much activity.

aschliebner's picture

Hi! I'm using Eclipse Oxygene on Ubuntu with the Eclipse C++ IDE for Arduino plugin. In order to program an Arduino Nano clone I have to set the baudrate to 57600. But I did not find any option to alter the baudrate neither in Eclipse nor in the system configuration. It always uses 115200. I guess this is hard coded?!

jkamminga's picture

Hi Doug,


I have used the ArduinoCDT plugin for about a year on my Mac. Using it on Uno boards or Uno like boards without any problems. Also using it on a DFRobot board (Romeo4Edison), which includes an Intel Edison. I was able to hack the upload scripts "" to enable upload using the wifi ability of the Edison.

I started using the Plugin on the Arduino Robot-Control board but wasn't able to upload to the board.

This board serial port needs to be set in accept upload mode by opening the port at 1200bps. That works fine from the Arduino-IDE. There is an option to use the use the reset button on the board twice within a vew seconds to set boards serial port to accept upload mode. But that isn't very robust and sometimes put the board in a non responsive state which is only resolved by burning the boot loader again.

This to show you I have tried to work arround it using stuff available.

So I downloaded the Java source code of the Arduino IDE and reversed engineerd what they did to get the board in accept upload mode.

I then scripted that functionality in a bash script.

So my mode is now:

1) compile the code.

2) have an command console open, run my script.

3) Successfull execution allows me to upload the code to the board.

Would it be posible to get this functionlity fixed or included in a next release?

Best regards,


And here the script:

ME=`basename "$0"`
echo "$ME: starting script"
echo "$ME: find the Arduino port"
ARDUINO_UPLOAD_PORT="$(find /dev/cu.usbmodem* 2>/dev/null | head -n 1)"
if [ ! -e "$ARDUINO_UPLOAD_PORT" ]
    echo "$ME: No port available"
echo "$ME: port "$ARDUINO_UPLOAD_PORT""
# reset the Arduino
echo "$ME: reset the Arduino"
stty -f "${ARDUINO_UPLOAD_PORT}" 1200
echo "$ME: wait to give the board time to reboot"
sleep 0.4
echo "wait for it..."
while :; do
   sleep 0.25
   [ -c "${ARDUINO_UPLOAD_PORT}" ] && break
   echo "$ME: going"
echo "$ME: Press Upload now !"


pcarew's picture

Hello Doug,
I upgraded/updated my Neon eclipse to Oxygen.

One of my prior Arduino projects somehow is no longer recognized as Arduino.

The launch bar only shows 'Debug" as an option and it can't find Arduino.h anymore.

Can you let me know where I need to go to tweak/update the project settings?

Is there a preference file somwhere that holds this?


pcarew's picture

Doug, I have a pretty reasonable background in both Java and 'C'. I'm willing to help with working through some of the Arduino CDT issues.

Would you contact me at



zinvestigator's picture

I'm using Eclipse Oxygen on Windows 7. Problem is, whenever I want to reflash the Arduino (Uno) while serial console is open, it gives an error stating "avrdude: ser_open(): can't open device "\\.\COM13": Access is denied."

I've figured it out that I have to first click on the disconnect button (in command shell) then hit the flash button. But in the youtube video tutorial you provided, it seems the plugin automatically closes the serial port before upload and the reopens it.

How can I do this?

Thanks for this awesome plug-in :)

vad7's picture

Arduino SAM Boards (32 bits ARM Cortex-M3)

Eclipse IDE for C/C++ Developers
Version: Oxygen Release (4.7.0)
Build id: 20170620-1800

cschindler607's picture

why does installing arduino remove marketplace in the help menu?

kdur's picture


I am on mac os 10.12.4 with eclipse 4.6.3.

When I try to download a platform with Arduino Download Manager, I select "Add" and I get this error :

Error loading http : //
Server returned HTTP response code: 403 for URL: http : //

When I copy this url in my browser, the json is appeared.

Thank You.

ikostov's picture

Hi guys,

for some reasons I'm not able to download any package from the download manager. It says ( I have removed the "http's" ):

Error loading
Server returned HTTP response code: 403 for URL:

When I open the link in a browser everything looks good ( it's not a proxy or firewall issue ).

Any idea ?



bbs's picture


have successfully installed and the Plugin works fine. well done!

is there a readme or other link for create new Package ( ESP32 ) for the

new Arduino Downloads Manager which is available in the Help menu ?

also for board platform SDKs and libraries ?

i would like to import the arduino esp32 part from espressif's github repo arduino-esp32


on this fine way over the Arduino Downloads Manager in Help menu.

thank you

best wishes

rudi ;-)

rshah658's picture

I have successfully installed this plugin and built some of the earlier Arduino codes smoothly. I do have question about code suggestion for all the Arduino functions like pinMode, digitalWrite etc. That is one of the major reason why I turned away from original Arduino IDE. So, is it possible to get code suggestions for all the arduino functions?

dschaefer's picture

Yes, Control-Space (Command-Space on Mac) is the default key binding for it. It's one of the main reasons I built this plug-in for Eclipse CDT too :)

mschmeing's picture

I have the Eclipse C++ IDE for Arduino installed in Neon. My Arduino is an Arduino M0 pro (and thus my platform package the Arduino SAMD Boards (32-bits ARM Cortex-M0+). Originally, (with version 1.6.6 of the package) everything was fine. But after an update of the platform, suddenly the IDE cannot find the include files (especially Arduino.h) anymore. The compiler on the other hand still finds the includes.
The current version of the package is 1.6.14, but this is not the first version, where I noticed this problem for the first time. I noticed the problem with the previous update that I performed, but I don't know anymore, which version that was.

My Eclipse version is:
Eclipse IDE for C/C++ Developers
Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500

It was installed from the Eclipse Installer.

rhedger's picture


I wonder whether it is related to this intermittent bug?

mschmeing's picture

Yes, it seems to be the same problem. My System is an x86_64 Debian testing and the project is within the eclipse workspace. Otherwise, the descriptions match my problem.

rhedger's picture

I have installed this plugin and successfully programmed several types of Arduino board. However, I am having trouble programming a Sparkfun Pro Micro board (ATmega32U4 8 Mhz 3.3V). Sparkfun boards didn't show up in the platform list of the Arduino Downloads Manager, so I added the Sparkfun json file to the arduinoct directory, restarted Eclipse and was able to add them. When I try to program the Pro Micro board, I get the error listed below. I am able to program an Arduino Micro on /dev/ttyACMx, so it doesn't seem to be the (now fixed) connection bug. I can program the Pro Micro using the Arduino IDE, so the board is OK.

Connecting to programmer: .
Found programmer: Id = "Hello w"; type = o
Software Version = H.e; Hardware Version = l.l
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

avrdude: error: programmer did not respond to command: leave prog mode
avrdude: error: programmer did not respond to command: exit bootloader

gabenthung's picture

I'va just installed this plugin from Eclipse Marketplace on a fresh downloaded Eclipse Neon.2 CDT IDE. When I try to add a new "Connection" for my mega2560 board, I can't select a serial port (/dev/ttyACM0 in my case.) Also typing the port manually into the textfield and hitting the "OK" button doesn't work. The field stays empty when I open the connection from the "connection"-View with [RightClick]->Properties on the created connection. The board is recognised correctly by the vanilla Arduino-IDE. I'm running Kubuntu 16.04

Any suggestions?

dschaefer's picture

A fix for the ttyACM issue is on the way. Hopefully by tomorrow. Try a Check for Updates then.

gabenthung's picture

Thanks /dev/ttyACM0 works now in serial port settings. Is there a public source-code repository/bugtracker for this plugin?

Thanks for the great work and the rapid fix of my problem! Keep up the great work!

dschaefer's picture

Good to hear. The bug report is here The fix was in the CDT's serial port plug-in. A link to the code review is in the bug.

gabenthung's picture

Today I tried it with a NodeMCU (ESP8266) which is on /dev/ttyUSB0 and it works. It seems that simply /dev/ttyACM* is not configured in the plugin like other posters here mentioned. It would be great, to be able to manually fill out the "Serial Port" field. I could also use the "/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0" ports which are created on Ubuntu for each device.

gabenthung's picture

Hi, I just installed this plugin from the Eclipse Marketplace on a freshly downloaded Eclipse Neon CDT IDE. When adding a connection for my Arduino Mega2560 board I can't select it (in my case it would be /dev/ttyACM0 ). When I try to type it manually and click the "OK" button it simply doesn't save my setting.

I'm running Kubuntu 16.04

kclough's picture

Great Plugin. Takes working with Arduino to a new level.

I have created some code that I would like to reuse in several variants for a number of mcu's. I would like to make some compile time configurations. I know that this has been addressed before but I am looking for a very simple solution. If I were able to add a define symbol as in a normal cdt project I could have the project build by selecting a specific include file. The plugin quite correctly removes these definitions.

My problem could easily be solved if the target connection were defined I.E. -DLAUNCH_TARGET. Then using #if's I could configure my variants at compile time.


ndarkness's picture

Hello, I am having an issue with the plugin and windows, it apparently loses the libraries and platforms list in the " Arduino Download Manager". If I hit in updates, I get an error saying " No protocol:" clicking Details does not show anything more, only the same erro " No protocol:".

It does happens after building the project and almost all the references withing my project are highlighted in red; however, if I start a new project and include my code the references work fine, but as soon as I build it, they are gone again...

Have someone experienced this?


ashishkin's picture

Great tool, I followed this video and have created and compiled my Arduino test project. But in the 3rd column my run target "Uno" is unavailable, I see only "Local" there. Of course I have created a lot of different connections and got "connected" message in terminal output. I am on Windows 10 x64 and had no problems with standard Arduino IDE and PlatformIO.

dschaefer's picture

Yes, there was a version mismatch in the MarketPlace and what we shipped with CDT Neon.2. Doing a Check for Updates will give you the correct version. And the MarketPlace page has been updated properly.

jwalters085's picture

I went through all of this. I eventually found a part of the setup that required running manually and after this and a restart of eclipse, lo and behold, my targets appeared. I was then able to compile and download a demo app but not run it. I gave up at this point and installed VisualMicro onto Visual Studio 2015. Worked straight out of the box and I was up and running in about 20 minutes.

This is my second attempt with Eclipse. First time was to do cross development on a Raspberry Pi and could never get that tool chain to work. That time I went to Netbeans and again was up and running in under an hour after weeks of faffing with eclipse. It's just too complicated and not in the least bit intuitive. Sorry chaps, needs a serious rethink.

jwalters085's picture

I've followed the YouTube video to install Neon C++ for Arduino, have successfully built a "Hello world" sketch and all appears fine. Now to the real task...
May target board will be an Arduino Due. I have loaded the arm-none-eabi-gcc tool chain with the Arduino Download Manager but I can't find any way of selecting it as the active tool chain for my project. Project/Properties/Libraries/Platform Libraries are set to "Arduino SAM Boards" but the build insists on using the avr-gcc tools.
What am I missing?

pcarew's picture

This is probably similar to what I do to switch between targets...
To switch between Arduino (AVR) and ESP8266 (Expressif), I need to select the correct launch target in the launch bar (3rd dropdown box).

Do you have a launch target configured for the Due board?

jwalters085's picture

Hi Paul,

My problem appears to be the same as Al Shiskin; the targets are simply not appearing in the launch Bar. All I have is Local and the option to create new targets. In similar vein, I can create targets that show up in the Connections tab and I can connect to them but that's about it.

pcarew's picture

Hello John,
One of the things I noticed in the beginning, was a problem in being able to select Arduino Project launch targets in the Launch Bar. I filed a CDT bug for this

I'm not sure if this is what you're experiencing, but if so I found that after opening a project in the project explorer, I had to 'restart' Eclipse. After the restart, the correct launch target showed up in the launch bar.
Hope this helps.

jwalters085's picture

I've followed the YouTube video to the letter and now have a fully functioning IDE that will build a demo project for an ATMega based board. Now for the real work....
The target board will be an Arduino Due with the Cortex M3 CPU. I've downloaded the SAM platform and now have the arm-none-eabi-gcc tool chain installed but I can't work out how to set up the project to use it. I've created a new Launch Target for the Due board but because I don't actually have a target processor connected at this time, it simply uses what appears to be the default tool chain.
How do I configure Eclipse / my project to use the correct tool set?

dcimminon11's picture


I am having trouble adding a new library, I know you don't have the option of creating your own library yet, but if the library is already written and on github, Is it possible to add it to the library index json file and download it with the Arduino Download manager? Adding the library in the arduinocdt folder does not work and if I modify the json file, It downloads automatically the old one when I try to search for libraries. The attempted methods in the forum does not work.

Do you allow the community to modify the json file to add new libraries? this could be a temporary fix until the private library option is added.

Thanks for the plugin!


pcarew's picture

I responded to your forum posting with the details, but essentially check that you have a '' file in the root folder of your library.

tmcpharlin's picture

When one creates an Arduino project, there are a number of differences from what the IDE does for a standard C++ project:

The project Properties, C/C++ General group lacks the "Paths and Symbols" property group. Among the more useful missing properties are:
a. "Preprocessor Include Paths" settings not to mention that an "includes" folder is not created within the project tree (Next to "src" folder)
b. The "Libraries" and "Library Paths" property tabs are not supported, apparently.

Rather than simply explaining that these settings may be added in a future release, perhaps the author could explain his philosophy for omitting these settings. Was it an intentional design decision or simply omitted in these early releases?

tmcpharlin's picture

Or possibly the "user defined library support" feature you eluded to in an earlier post.
I'm guessing that a user-defined-bootloader may also be required in such scenarios but I have no idea (yet) how compatible the boards may be or how universal a bootloader could be made...

Is a universal SAMD bootloader feasible? How different would it be from, say, an AVR?

very cool project, keep up the great work, Doug.

My post in the main CDT forum:

achestnov's picture

Where is support forum? Where can I ask a Question? I want to use and integrate my own library ? How can i do what. I don't want to write big Json file and push my library to git hub first. Please help. Thanks.

dschaefer's picture

The link to the forum is in the text above. This is open source and support is provided by the community and myself when I have time available.

And as I've stated a few times here and there, we currently do not have support for doing your own libraries. That's something I hope to add for next year's release (Eclipse Oxygen).

amikiciuk's picture

In new version of Eclipse Neon.1 (4.6.1) you can't create new project. Some of buttons is disabled to continue project creation wizard.

dschaefer's picture

I have refreshed the Arduino C++ update site with the neon.1 plug-ins on the weekend. Seems to be working now.

mheeg7k's picture

I've installed Eclipse Neon and this plugin today. But i can't create an Arduino Project! If i click on the "Arduino C++ Sketch" Button the "Next" Button does not activate. If I click on "Finish" the Project Window Closes and nothing happens.

tmcpharlin's picture

Watch the demo on youtube closely, he does not click the Next button, he clicks on the Arduino-Sketch uber-icon-thingy to the right... HTH

dschaefer's picture

If you are having problems after updating to Neon.1, make sure you enable the Eclipse C/C++ IDE for Arduino Neon update site in the preferences under Available Software Sites.