This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Adding uart functionality in gpiote example

Hi, I'm learing how to use the NRF51 DK and I'm trying to modify the app GPIOTE example including the uart functionality. I insert in GPIOTE the directive:

#include "app_uart.h"

and then I insert the folder in the include path in the option of the code, so it compile. But when in the code I call the APP_UART_FIFO_INIT or the APP_UART_INIT as I see in the uart example, the compiler give me the following error:

._build\nrf51422_xxac.axf: Error: L6218E: Undefined symbol app_uart_init (referred from main.o).

What is the problem? How I can solve it?

Related