This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Setup Eclipse/GCC for C++ and mbed project debugging

Hi All,

I would like to setup my Eclipse and GCC for compiling and debugging C++ & mbed projects on nRF51 DK. The setup procedure explained in tutorial Development with GCC and Eclipse supports only Nordic SDK examples.

Is there a procedure or workaround to get this support C++ & mbed projects as well?

Hi Micheal and Vidhar,

I'm trying to setup my Eclipse environment with GCC to include C++ files at present. I have modified the blinky example Makefile from the tutorial Development with GCC and Eclipse to include C++ files

But, I'm getting the below error

make[1]: *** No rule to make target `_build/system_nrf51.o', needed by `nrf51422_xxac_s110'.  Stop.
make: *** [all] Error 2

Can you please have a look at my make file and tell me what I'm doing wrong. I'm pretty novice to GNU Make.

Thank you very much

makefile_cpp.mak

Related