1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-28 16:01:18 +01:00

Merge pull request #14692 from nicoHarel/feature/board_particle_xenon_uart1

boards/particle-xenon: add UART1 to uart_config
This commit is contained in:
benpicco 2020-08-07 17:02:32 +02:00 committed by GitHub
commit b73144acfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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