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:
parent
7f1f8ae576
commit
6916616c47
@ -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)
|
||||
/** @} */
|
||||
|
Loading…
Reference in New Issue
Block a user