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

GCC Build w/sdk9 (no rule to make target)

Hi there!

I've followed the guide to Eclipse GCC (using OSX) from here:devzone.nordicsemi.com/.../

I had to add some stuff to main.c to have it built (e.g. BSP_LED_APP_TIMERS_NUMBER).

Apart from that it seems like everything goes well, until I need to build the app using the make file.

I get the following error:

make[1]: *** No rule to make target _build/app_button.o, needed by nrf51422_xxac_s110.  Stop.

Please help, I've spent a lot of hours trying to get this to work.

Thanks! Henrik

Parents
  • Somehow I managed to get it working by meticulously copying all relevant options from the Makefile into a new, empty C project in Eclipse.

    Now it can build fine. And I can run the sample code on nRF51x.

    Now I have issues with nRF52 Preview DK. Not with building the examples, but with running them on the hardware using JLink. I'll post a new question.. ;)

    Thanks for your suggestions all of you!

Reply
  • Somehow I managed to get it working by meticulously copying all relevant options from the Makefile into a new, empty C project in Eclipse.

    Now it can build fine. And I can run the sample code on nRF51x.

    Now I have issues with nRF52 Preview DK. Not with building the examples, but with running them on the hardware using JLink. I'll post a new question.. ;)

    Thanks for your suggestions all of you!

Children
Related