summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/arm/stm32h7
diff options
context:
space:
mode:
authorKinsey Moore <kinsey.moore@oarcorp.com>2023-07-13 15:24:40 -0500
committerJoel Sherrill <joel@rtems.org>2023-07-24 16:32:08 -0500
commit46a4c5ea796be762291deeab7b129464b904cba4 (patch)
tree4c4ce0bdb460c87fae2bf2a40c17069a05b962b8 /spec/build/bsps/arm/stm32h7
parentscore: Move _IO_Relax() to new <rtems/dev/io.h> (diff)
downloadrtems-46a4c5ea796be762291deeab7b129464b904cba4.tar.bz2
bsps/stm32h7: Make UART7 pins configurable
This change allows for the pins assigned to UART7 to be reconfigured via config.ini.
Diffstat (limited to 'spec/build/bsps/arm/stm32h7')
-rw-r--r--spec/build/bsps/arm/stm32h7/grp.yml4
-rw-r--r--spec/build/bsps/arm/stm32h7/optuart7gpiopins.yml17
-rw-r--r--spec/build/bsps/arm/stm32h7/optuart7gpioregs.yml17
3 files changed, 38 insertions, 0 deletions
diff --git a/spec/build/bsps/arm/stm32h7/grp.yml b/spec/build/bsps/arm/stm32h7/grp.yml
index 595762c665..239df9b898 100644
--- a/spec/build/bsps/arm/stm32h7/grp.yml
+++ b/spec/build/bsps/arm/stm32h7/grp.yml
@@ -107,6 +107,10 @@ links:
- role: build-dependency
uid: optusart3gpioregs
- role: build-dependency
+ uid: optuart7gpiopins
+- role: build-dependency
+ uid: optuart7gpioregs
+- role: build-dependency
uid: optvariant
- role: build-dependency
uid: optethgpiogregs
diff --git a/spec/build/bsps/arm/stm32h7/optuart7gpiopins.yml b/spec/build/bsps/arm/stm32h7/optuart7gpiopins.yml
new file mode 100644
index 0000000000..0252bdab7c
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/optuart7gpiopins.yml
@@ -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
diff --git a/spec/build/bsps/arm/stm32h7/optuart7gpioregs.yml b/spec/build/bsps/arm/stm32h7/optuart7gpioregs.yml
new file mode 100644
index 0000000000..16ce3bf526
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/optuart7gpioregs.yml
@@ -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