interoberlin / nRF51-adc-test

A simple demonstration of ADC and NUS (Nordic UART Service) using the nRF-DK board.
http://electronut.in/nrf51-adc-test/
0 stars 0 forks source link

fatal error: nrf_delay.h: No such file or directory #1

Closed matthiasbock closed 8 years ago

matthiasbock commented 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
matthiasbock commented 8 years ago

additional line into the Makefile:

INC_PATHS += -I$(SDK_ROOT)/components/drivers_nrf/delay