From 6600585fc8e5fa299bf1ca1e0856d44b23c195cf Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 4 Jan 2021 19:21:11 +0100 Subject: bsp/stm32h7: Split console configuration This allows applications to individually provide configuration structures. Update #4209. --- bsps/arm/stm32h7/console/console-uart7.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'bsps/arm/stm32h7/console/console-uart7.c') diff --git a/bsps/arm/stm32h7/console/console-uart7.c b/bsps/arm/stm32h7/console/console-uart7.c index eadf7723c6..cc113340c3 100644 --- a/bsps/arm/stm32h7/console/console-uart7.c +++ b/bsps/arm/stm32h7/console/console-uart7.c @@ -31,21 +31,6 @@ #include -static const stm32h7_uart_config stm32h7_uart7_config = { - .gpio = { - .regs = GPIOB, - .config = { - .Pin = GPIO_PIN_3 | GPIO_PIN_4, - .Mode = GPIO_MODE_AF_PP, - .Pull = GPIO_NOPULL, - .Speed = GPIO_SPEED_FREQ_LOW, - .Alternate = GPIO_AF7_UART7 - } - }, - .irq = UART7_IRQn, - .device_index = 6 -}; - stm32h7_uart_context stm32h7_uart7_instance = { .uart = { .Instance = UART7, -- cgit v1.2.3