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

eclipse sdk

sdk132. nrf52832 board Try tutorial "Development with GCC and Eclipse" devzone.nordicsemi.com/.../

.image description

All the time I'm persecuted by error /// *** No rule to make target _build/nrf_delay.o', needed bynrf52832_xxaa'. Stop.//// therefore I can't get nrf52832_xxaa.out file in _build folder. I have only these two files

image description

  1. When I create new project in eclipse tutorials tells me: "Open and edit the SDK makefile to support debugging of your code. Locate the CFLAGS variables, and change ‘-O3’ to '-O0' for debugging to produce expected results (stack variables loaded directly to CPU registers,etc). Then add '-g3' to CFLAGS to include debug symbols in the .out file". Do I change it in right place?

image description

  1. When I create Target for debugging Do I need to change the default options

image description

Parents
  • The problem is solved by commenting this raw in make file (abspath ../../../../../../components/drivers_nrf/delay/nrf_delay.c) And also I discovered interesting thing. Many times I tried to change code and observe the result of changing on my board but nothing happens. The problem was I do it like in keil just recompile project and flash board - in Eclipse (at least in mine with my settings) it's not work and you need to save file before compiling. Now I'm going ahead..

Reply
  • The problem is solved by commenting this raw in make file (abspath ../../../../../../components/drivers_nrf/delay/nrf_delay.c) And also I discovered interesting thing. Many times I tried to change code and observe the result of changing on my board but nothing happens. The problem was I do it like in keil just recompile project and flash board - in Eclipse (at least in mine with my settings) it's not work and you need to save file before compiling. Now I'm going ahead..

Children
No Data
Related