From 05cd707d283be1bc0432c181e1f1c590db9209ea Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 6 Apr 2021 09:56:41 +0200 Subject: arm/stm32h7: Add STM32H7_USART3_GPIO_* --- bsps/arm/stm32h7/console/console-usart3-cfg.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bsps') diff --git a/bsps/arm/stm32h7/console/console-usart3-cfg.c b/bsps/arm/stm32h7/console/console-usart3-cfg.c index b40f6da5aa..1043b449b6 100644 --- a/bsps/arm/stm32h7/console/console-usart3-cfg.c +++ b/bsps/arm/stm32h7/console/console-usart3-cfg.c @@ -31,11 +31,13 @@ #include +#include + const stm32h7_uart_config stm32h7_usart3_config = { .gpio = { - .regs = GPIOB, + .regs = STM32H7_USART3_GPIO_REGS, .config = { - .Pin = GPIO_PIN_9 | GPIO_PIN_10, + .Pin = STM32H7_USART3_GPIO_PINS, .Mode = GPIO_MODE_AF_PP, .Pull = GPIO_NOPULL, .Speed = GPIO_SPEED_FREQ_LOW, -- cgit v1.2.3