Closed matthiasbock closed 8 years ago
pca10028/s110/armgcc$ SDK_ROOT=/home/code/nRF51822/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 Compiling file: app_trace.c Compiling file: nrf_assert.c Compiling file: retarget.c Compiling file: app_uart_fifo.c In file included from /home/code/nRF51822/nRF51-adc-test/nordic//components/libraries/uart/app_uart_fifo.c:15:0: /home/code/nRF51822/nRF51-adc-test/nordic//components/libraries/uart/app_uart_fifo.c: In function 'app_uart_init': /home/code/nRF51822/nRF51-adc-test/nordic//components/drivers_nrf/uart/nrf_drv_uart.h:82:31: error: 'UART0_CONFIG_PSEL_TXD' undeclared (first use in this function) .pseltxd = UART0_CONFIG_PSEL_TXD, \ ^ /home/code/nRF51822/nRF51-adc-test/nordic//components/libraries/uart/app_uart_fifo.c:117:36: note: in expansion of macro 'NRF_DRV_UART_DEFAULT_CONFIG' nrf_drv_uart_config_t config = NRF_DRV_UART_DEFAULT_CONFIG; ^ /home/code/nRF51822/nRF51-adc-test/nordic//components/drivers_nrf/uart/nrf_drv_uart.h:82:31: note: each undeclared identifier is reported only once for each function it appears in .pseltxd = UART0_CONFIG_PSEL_TXD, \ ^ /home/code/nRF51822/nRF51-adc-test/nordic//components/libraries/uart/app_uart_fifo.c:117:36: note: in expansion of macro 'NRF_DRV_UART_DEFAULT_CONFIG' nrf_drv_uart_config_t config = NRF_DRV_UART_DEFAULT_CONFIG; ^ /home/code/nRF51822/nRF51-adc-test/nordic//components/drivers_nrf/uart/nrf_drv_uart.h:83:31: error: 'UART0_CONFIG_PSEL_RXD' undeclared (first use in this function) .pselrxd = UART0_CONFIG_PSEL_RXD, \ ^ /home/code/nRF51822/nRF51-adc-test/nordic//components/libraries/uart/app_uart_fifo.c:117:36: note: in expansion of macro 'NRF_DRV_UART_DEFAULT_CONFIG' nrf_drv_uart_config_t config = NRF_DRV_UART_DEFAULT_CONFIG; ^ /home/code/nRF51822/nRF51-adc-test/nordic//components/drivers_nrf/uart/nrf_drv_uart.h:84:31: error: 'UART0_CONFIG_PSEL_CTS' undeclared (first use in this function) .pselcts = UART0_CONFIG_PSEL_CTS, \ ^ /home/code/nRF51822/nRF51-adc-test/nordic//components/libraries/uart/app_uart_fifo.c:117:36: note: in expansion of macro 'NRF_DRV_UART_DEFAULT_CONFIG' nrf_drv_uart_config_t config = NRF_DRV_UART_DEFAULT_CONFIG; ^ /home/code/nRF51822/nRF51-adc-test/nordic//components/drivers_nrf/uart/nrf_drv_uart.h:85:31: error: 'UART0_CONFIG_PSEL_RTS' undeclared (first use in this function) .pselrts = UART0_CONFIG_PSEL_RTS, \ ^ /home/code/nRF51822/nRF51-adc-test/nordic//components/libraries/uart/app_uart_fifo.c:117:36: note: in expansion of macro 'NRF_DRV_UART_DEFAULT_CONFIG' nrf_drv_uart_config_t config = NRF_DRV_UART_DEFAULT_CONFIG; ^ /home/code/nRF51822/nRF51-adc-test/nordic//components/drivers_nrf/uart/nrf_drv_uart.h:87:31: error: 'UART0_CONFIG_HWFC' undeclared (first use in this function) .hwfc = UART0_CONFIG_HWFC, \ ^ /home/code/nRF51822/nRF51-adc-test/nordic//components/libraries/uart/app_uart_fifo.c:117:36: note: in expansion of macro 'NRF_DRV_UART_DEFAULT_CONFIG' nrf_drv_uart_config_t config = NRF_DRV_UART_DEFAULT_CONFIG; ^ /home/code/nRF51822/nRF51-adc-test/nordic//components/drivers_nrf/uart/nrf_drv_uart.h:88:31: error: 'UART0_CONFIG_PARITY' undeclared (first use in this function) .parity = UART0_CONFIG_PARITY, \ ^ /home/code/nRF51822/nRF51-adc-test/nordic//components/libraries/uart/app_uart_fifo.c:117:36: note: in expansion of macro 'NRF_DRV_UART_DEFAULT_CONFIG' nrf_drv_uart_config_t config = NRF_DRV_UART_DEFAULT_CONFIG; ^ /home/code/nRF51822/nRF51-adc-test/nordic//components/drivers_nrf/uart/nrf_drv_uart.h:89:31: error: 'UART0_CONFIG_BAUDRATE' undeclared (first use in this function) .baudrate = UART0_CONFIG_BAUDRATE, \ ^ /home/code/nRF51822/nRF51-adc-test/nordic//components/libraries/uart/app_uart_fifo.c:117:36: note: in expansion of macro 'NRF_DRV_UART_DEFAULT_CONFIG' nrf_drv_uart_config_t config = NRF_DRV_UART_DEFAULT_CONFIG; ^ /home/code/nRF51822/nRF51-adc-test/nordic//components/drivers_nrf/uart/nrf_drv_uart.h:90:31: error: 'UART0_CONFIG_IRQ_PRIORITY' undeclared (first use in this function) .interrupt_priority = UART0_CONFIG_IRQ_PRIORITY \ ^ /home/code/nRF51822/nRF51-adc-test/nordic//components/libraries/uart/app_uart_fifo.c:117:36: note: in expansion of macro 'NRF_DRV_UART_DEFAULT_CONFIG' nrf_drv_uart_config_t config = NRF_DRV_UART_DEFAULT_CONFIG; ^ Makefile:168: recipe for target '_build/app_uart_fifo.o' failed make: *** [_build/app_uart_fifo.o] Error 1
nRF51-adc-test/pca10028/s110/armgcc/Makefile Out:
INC_PATHS = -I../../../config
In:
INC_PATHS += -I$(SDK_ROOT)/components/drivers_nrf/config INC_PATHS += -I$(SDK_ROOT)/components/drivers_nrf/delay