diff --git a/boards/nucleo-l073/include/periph_conf.h b/boards/nucleo-l073/include/periph_conf.h index f96223983ad9889ea0b147e4dd1446b3d3ca8455..d8ee7c2b498b3b5cad845475a7b2ef1f5ddb69ab 100644 --- a/boards/nucleo-l073/include/periph_conf.h +++ b/boards/nucleo-l073/include/periph_conf.h @@ -85,6 +85,16 @@ static const uart_conf_t uart_config[] = { .bus = APB1, .irqn = USART2_IRQn }, + { + .dev = USART1, + .rcc_mask = RCC_APB2ENR_USART1EN, + .rx_pin = GPIO_PIN(PORT_A, 10), + .tx_pin = GPIO_PIN(PORT_A, 9), + .rx_af = GPIO_AF4, + .tx_af = GPIO_AF4, + .bus = APB2, + .irqn = USART1_IRQn + }, { .dev = USART4, .rcc_mask = RCC_APB1ENR_USART4EN, @@ -98,7 +108,8 @@ static const uart_conf_t uart_config[] = { }; #define UART_0_ISR (isr_usart2) -#define UART_1_ISR (isr_usart4_5) +#define UART_1_ISR (isr_usart1) +#define UART_2_ISR (isr_usart4_5) #define UART_NUMOF (sizeof(uart_config) / sizeof(uart_config[0])) /** @} */