Closed matthiasbock closed 8 years ago
nRF51-adc-test/pca10028/s110/armgcc$ SDK_ROOT=nRF51-adc-test/nordic/ make rm -rf _build *.jlink echo Makefile Makefile mkdir _build Compiling file: app_button.c Compiling file: app_error.c Compiling file: app_fifo.c Compiling file: app_timer.c /home/code/nRF51822/nRF51-adc-test/nordic//components/libraries/timer/app_timer.c:18:23: fatal error: nrf_delay.h: No such file or directory #include "nrf_delay.h" ^ compilation terminated. Makefile:167: recipe for target '_build/app_timer.o' failed make: *** [_build/app_timer.o] Error 1
additional line into the Makefile:
INC_PATHS += -I$(SDK_ROOT)/components/drivers_nrf/delay