summaryrefslogtreecommitdiffstats
path: root/bsps/arm/stm32h7/console/console-uart7-cfg.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bsps/arm/stm32h7/console/console-uart7-cfg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsps/arm/stm32h7/console/console-uart7-cfg.c b/bsps/arm/stm32h7/console/console-uart7-cfg.c
index 640fb358e3..2ced4cf9c2 100644
--- a/bsps/arm/stm32h7/console/console-uart7-cfg.c
+++ b/bsps/arm/stm32h7/console/console-uart7-cfg.c
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/*
- * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+ * Copyright (C) 2020 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -33,9 +33,9 @@
const stm32h7_uart_config stm32h7_uart7_config = {
.gpio = {
- .regs = GPIOB,
+ .regs = STM32H7_UART7_GPIO_REGS,
.config = {
- .Pin = GPIO_PIN_3 | GPIO_PIN_4,
+ .Pin = STM32H7_UART7_GPIO_PINS,
.Mode = GPIO_MODE_AF_PP,
.Pull = GPIO_NOPULL,
.Speed = GPIO_SPEED_FREQ_LOW,