Stepping up in Arduino development

Ok, you have done some experience with your arduino, wired up some examples and you feel proficient with the Arduino IDE, but you feel you are missing something on the software side: a real integrated environment with auto completion, source code formatting and all that stuff.

Why don’t you switch to Eclipse? Well, that’s an easy task nowdays, thankfully to Jantje and the rest of the Eclipse Arduino team.

The learning curve, which was the reason why I waited so long to try it, is actually not steep at all: I actually managed to compile and upload a very basic sketch to my Arduino Micro in just 5 mins.

The installation wasn’t issue-free though, but if read carefully the instructions on the official web site and Google a little bit about the issues you might encounter, you will get up and running in no time.

My environment is set up on a Windows 7 64bit laptop with a Java 7 64bit runtime. I decided to go for the most advanced (and most complicated) configuration by setting up Arduino Eclipse on top of Arduino IDE version 1.5.5-r2 (aka version 1.5.5-beta).

I’ve tried to follow the almost step-by-step instructions available on the Eclipse Arduino Plugin website, but I found a couple of misleading/missing bits of information:

  • when using the 1.5.5-beta Arduino IDE, you need to update a quite high number of source files, the best way to do that is by running the script reported on the plugin website using CygWin, but you have to run the script from the top Arduino IDE folder, rather than from the hardware subfolder as advised
  • when you install the Arduino IDE, do not install it in a folder containing strange characters, including brackets like the Program Files (x86) directory as I am used to: that will cause a weird make error to occur
make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x4217b3)

I actually haven’t had any other issues and I’m now an happy user of the Arduino Eclipse Plugin, looking forward to contribute to those guys effort as much as I can: come join me!

7 thoughts on “Stepping up in Arduino development

  1. thnx so much!!! after struggling for hours to get things working properly, your directory tip finally got me going (how the hell did u figure that 1 out 😉 )
    Did you by any chance encounter and solve the “make: *** No rule to make target `clean’. ” error as well? I cannot seem to find a working solution so far…

    Like

  2. Thanks, i follow the step.
    But when verify the project has an error as below.

    11:34:55 **** Incremental Build of configuration Release for project fishing ****
    make all
    Building file: ../.ino.cpp
    Starting C++ compile
    “C:/Program Files/Arduino/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-g++” -c -g -Os -ffunction-sections -fdata-sections -nostdlib –param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=156-r2 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON ‘-DUSB_MANUFACTURER=”Unknown”‘ ‘-DUSB_PRODUCT=”Arduino Due”‘ “-IC:/Program Files/Arduino/hardware/arduino/sam/system/libsam” “-IC:/Program Files/Arduino/hardware/arduino/sam/system/CMSIS/CMSIS/Include/” “-IC:/Program Files/Arduino/hardware/arduino/sam/system/CMSIS/Device/ATMEL/” -MMD -MP -MF”.ino.cpp.d” -MT”.ino.cpp.d” -D__IN_ECLIPSE__=1 -x c++ “../.ino.cpp” -o “.ino.cpp.o” -Wall
    make (e=-1): Error -1
    make: *** [.ino.cpp.o] Error -1

    Like

  3. I try another environment.
    but still not work. below is the error msg

    09:59:39 **** Clean-only build of configuration Release for project test ****
    make clean
    make: *** No rule to make target `clean’. Stop.

    09:59:39 Build Finished (took 353ms)

    09:59:39 **** Build of configuration Release for project test ****
    make all
    Building file: ../.ino.cpp
    Starting C++ compile
    “C:/Program Files/Arduino/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-g++” -c -g -Os -ffunction-sections -fdata-sections -nostdlib –param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=156-r2 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON ‘-DUSB_MANUFACTURER=”Unknown”‘ ‘-DUSB_PRODUCT=”Arduino Due”‘ “-IC:/Program Files/Arduino/hardware/arduino/sam/system/libsam” “-IC:/Program Files/Arduino/hardware/arduino/sam/system/CMSIS/CMSIS/Include/” “-IC:/Program Files/Arduino/hardware/arduino/sam/system/CMSIS/Device/ATMEL/” -MMD -MP -MF”.ino.cpp.d” -MT”.ino.cpp.d” -D__IN_ECLIPSE__=1 -x c++ “../.ino.cpp” -o “.ino.cpp.o” -Wall
    ../.ino.cpp:6: fatal error: Arduino.h: No such file or directory
    compilation terminated.
    make: *** [.ino.cpp.o] Error 1

    Like

    1. I believe your issue is related to your installation path as the Arduino IDE is installed at “C:\Program Files\Arduino” which contains a space.

      Like

Leave a comment