diff --git a/boards/nucleo-f072/include/periph_conf.h b/boards/nucleo-f072/include/periph_conf.h index ed3d38e1404fa1e166a6507e9a35898edf9dacb7..5bf6742b7c2dff8b5a778830e8ee0ef8a33ae973 100644 --- a/boards/nucleo-f072/include/periph_conf.h +++ b/boards/nucleo-f072/include/periph_conf.h @@ -95,17 +95,28 @@ static const uart_conf_t uart_config[] = { { .dev = USART1, .rcc_mask = RCC_APB2ENR_USART1EN, - .rx_pin = GPIO_PIN(PORT_B, 7), - .tx_pin = GPIO_PIN(PORT_B, 6), - .rx_af = GPIO_AF0, - .tx_af = GPIO_AF0, + .rx_pin = GPIO_PIN(PORT_A, 10), + .tx_pin = GPIO_PIN(PORT_A, 9), + .rx_af = GPIO_AF1, + .tx_af = GPIO_AF1, .bus = APB2, .irqn = USART1_IRQn + }, + { + .dev = USART3, + .rcc_mask = RCC_APB1ENR_USART3EN, + .rx_pin = GPIO_PIN(PORT_C, 11), + .tx_pin = GPIO_PIN(PORT_C, 10), + .rx_af = GPIO_AF1, + .tx_af = GPIO_AF1, + .bus = APB1, + .irqn = USART3_8_IRQn } }; #define UART_0_ISR (isr_usart2) #define UART_1_ISR (isr_usart1) +#define UART_2_ISR (isr_usart3_8) #define UART_NUMOF (sizeof(uart_config) / sizeof(uart_config[0])) /** @} */