From 6916616c479eeb6aadc7c40ccc204ba1444b8c4d Mon Sep 17 00:00:00 2001 From: Nicolas Harel Date: Tue, 4 Aug 2020 10:45:20 +0200 Subject: [PATCH] boards/particle-xenon: add UART1 to uart_config --- boards/particle-xenon/include/periph_conf.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/boards/particle-xenon/include/periph_conf.h b/boards/particle-xenon/include/periph_conf.h index 57762e0d80..f0ff0e8698 100644 --- a/boards/particle-xenon/include/periph_conf.h +++ b/boards/particle-xenon/include/periph_conf.h @@ -42,9 +42,20 @@ static const uart_conf_t uart_config[] = { #endif .irqn = UARTE0_UART0_IRQn, }, + { + .dev = NRF_UARTE1, + .rx_pin = GPIO_PIN(1,10), + .tx_pin = GPIO_PIN(1,8), +#ifdef MODULE_PERIPH_UART_HW_FC + .rts_pin = GPIO_PIN(1,3), + .cts_pin = GPIO_PIN(1,11), +#endif + .irqn = UARTE1_IRQn, + }, }; #define UART_0_ISR (isr_uart0) +#define UART_1_ISR (isr_uarte1) #define UART_NUMOF ARRAY_SIZE(uart_config) /** @} */