diff --git a/boards/airfy-beacon/include/board.h b/boards/airfy-beacon/include/board.h index 462f795582..fcf1decf0e 100644 --- a/boards/airfy-beacon/include/board.h +++ b/boards/airfy-beacon/include/board.h @@ -47,7 +47,7 @@ * @name Define the boards stdio * @{ */ -#define STDIO UART_0 +#define STDIO UART_DEV(0) #define STDIO_BAUDRATE (115200U) #define STDIO_RX_BUFSIZE (64U) /** @} */ diff --git a/boards/airfy-beacon/include/periph_conf.h b/boards/airfy-beacon/include/periph_conf.h index a5879ae6ad..aa12c7bf8c 100644 --- a/boards/airfy-beacon/include/periph_conf.h +++ b/boards/airfy-beacon/include/periph_conf.h @@ -74,14 +74,11 @@ /** * @name UART configuration + * + * The CPU only supports one UART device, so we keep it simple * @{ */ #define UART_NUMOF (1U) -#define UART_0_EN 1 -#define UART_IRQ_PRIO 1 - -/* UART 0 device configuration */ -#define UART_DEV NRF_UART0 #define UART_PIN_RX 17 #define UART_PIN_TX 18 /** @} */