From c5d67b69fca28510d0f90feed0401c563cf0d0ef Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Tue, 20 Oct 2015 13:04:29 +0200 Subject: [PATCH] boards/airfy-beacon: adapted to UART changes --- boards/airfy-beacon/include/board.h | 2 +- boards/airfy-beacon/include/periph_conf.h | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) 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 /** @} */