diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-01-04 19:21:11 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-01-04 19:23:15 +0100 |
commit | 6600585fc8e5fa299bf1ca1e0856d44b23c195cf (patch) | |
tree | a043775a4b56edf7b9166daa85c8f1df510f56f2 /bsps/arm/stm32h7/console/console-usart2.c | |
parent | bsp/stm32h7: Split start configuration (diff) | |
download | rtems-6600585fc8e5fa299bf1ca1e0856d44b23c195cf.tar.bz2 |
bsp/stm32h7: Split console configuration
This allows applications to individually provide configuration
structures.
Update #4209.
Diffstat (limited to '')
-rw-r--r-- | bsps/arm/stm32h7/console/console-usart2.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/bsps/arm/stm32h7/console/console-usart2.c b/bsps/arm/stm32h7/console/console-usart2.c index 291dbc044d..b14be49d08 100644 --- a/bsps/arm/stm32h7/console/console-usart2.c +++ b/bsps/arm/stm32h7/console/console-usart2.c @@ -31,21 +31,6 @@ #include <stm32h7/hal.h> -static const stm32h7_uart_config stm32h7_usart2_config = { - .gpio = { - .regs = GPIOA, - .config = { - .Pin = GPIO_PIN_2 | GPIO_PIN_3, - .Mode = GPIO_MODE_AF_PP, - .Pull = GPIO_NOPULL, - .Speed = GPIO_SPEED_FREQ_LOW, - .Alternate = GPIO_AF7_USART2 - } - }, - .irq = USART2_IRQn, - .device_index = 1 -}; - stm32h7_uart_context stm32h7_usart2_instance = { .uart = { .Instance = USART2, |