forked from Imagelibrary/rtems
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:
committed by
Joel Sherrill
parent
c8cae1d82d
commit
46a4c5ea79
@@ -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
|
||||
|
||||
17
spec/build/bsps/arm/stm32h7/optuart7gpiopins.yml
Normal file
17
spec/build/bsps/arm/stm32h7/optuart7gpiopins.yml
Normal 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
|
||||
17
spec/build/bsps/arm/stm32h7/optuart7gpioregs.yml
Normal file
17
spec/build/bsps/arm/stm32h7/optuart7gpioregs.yml
Normal 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
|
||||
Reference in New Issue
Block a user