bsps/stm32h7: Make UART7 pins configurable

This change allows for the pins assigned to UART7 to be reconfigured via
config.ini.
This commit is contained in:
Kinsey Moore
2023-07-13 15:24:40 -05:00
committed by Joel Sherrill
parent c8cae1d82d
commit 46a4c5ea79
4 changed files with 40 additions and 2 deletions

View File

@@ -106,6 +106,10 @@ links:
uid: optusart3gpiopins
- role: build-dependency
uid: optusart3gpioregs
- role: build-dependency
uid: optuart7gpiopins
- role: build-dependency
uid: optuart7gpioregs
- role: build-dependency
uid: optvariant
- role: build-dependency

View File

@@ -0,0 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- define-unquoted: null
build-type: option
copyrights:
- Copyright (C) 2023 On-Line Applications Research (OAR)
default:
- enabled-by: true
value: ( GPIO_PIN_3 | GPIO_PIN_4 )
description: |
GPIO pins used for the UART7 pin configuration.
enabled-by: true
format: '{}'
links: []
name: STM32H7_UART7_GPIO_PINS
type: build

View File

@@ -0,0 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- define-unquoted: null
build-type: option
copyrights:
- Copyright (C) 2023 On-Line Applications Research (OAR)
default:
- enabled-by: true
value: GPIOB
description: |
GPIO registers used for the UART7 pin configuration.
enabled-by: true
format: '{}'
links: []
name: STM32H7_UART7_GPIO_REGS
type: build