$ ./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
../../../nordic//components/drivers_nrf/gpiote/nrf_drv_gpiote.c:43:61: error: 'GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS' undeclared here (not in a function)
nrf_drv_gpiote_evt_handler_t handlers[NUMBER_OF_GPIO_TE+GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS];
^
../../../nordic//components/drivers_nrf/gpiote/nrf_drv_gpiote.c: In function 'nrf_drv_gpiote_init':
../../../nordic//components/drivers_nrf/gpiote/nrf_drv_gpiote.c:157:44: error: 'GPIOTE_CONFIG_IRQ_PRIORITY' undeclared (first use in this function)
nrf_drv_common_irq_enable(GPIOTE_IRQn, GPIOTE_CONFIG_IRQ_PRIORITY);
^
../../../nordic//components/drivers_nrf/gpiote/nrf_drv_gpiote.c:157:44: note: each undeclared identifier is reported only once for each function it appears in
../../../nordic//components/drivers_nrf/gpiote/nrf_drv_gpiote.c: In function 'channel_handler_get':
../../../nordic//components/drivers_nrf/gpiote/nrf_drv_gpiote.c:107:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1: all warnings being treated as errors
Makefile:168: recipe for target '_build/nrf_drv_gpiote.o' failed
make: *** [_build/nrf_drv_gpiote.o] Error 1