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

app_uart.h: No such file or directory #7

Closed matthiasbock closed 8 years ago

matthiasbock commented 8 years ago
$ ./build.sh 
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
Compiling file: app_trace.c
Compiling file: nrf_assert.c
Compiling file: retarget.c
Compiling file: app_uart_fifo.c
Compiling file: nrf_delay.c
Compiling file: nrf_adc.c
Compiling file: nrf_drv_common.c
Compiling file: nrf_drv_gpiote.c
Compiling file: pstorage.c
Compiling file: bsp.c
Compiling file: bsp_btn_ble.c
Compiling file: main.c
../../../main.c:38:22: fatal error: app_uart.h: No such file or directory
 #include "app_uart.h"
                      ^
compilation terminated.
Makefile:169: recipe for target '_build/main.o' failed
make: *** [_build/main.o] Error 1
matthiasbock commented 8 years ago

Append to Makefile:

INC_PATHS += -I$(SDK_ROOT)/components/libraries/uart