1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/particle-xenon: add UART1 to uart_config

This commit is contained in:
Nicolas Harel 2020-08-04 10:45:20 +02:00
parent 7f1f8ae576
commit 6916616c47

View File

@ -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)
/** @} */