summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorRobin Mueller <robin.mueller.m@gmail.com>2021-07-16 14:32:03 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-07-20 07:37:42 +0200
commitb24e81423ee3c74e5bbdc658bf83a8f550552ab5 (patch)
tree6cb06e72f475cceb6cf585b64391373b909f63d2 /spec
parentbsp/leon3: Remove <leon.h> include form <bsp.h> (diff)
downloadrtems-b24e81423ee3c74e5bbdc658bf83a8f550552ab5.tar.bz2
STM32H7 ethernet pin corrections
These patches were submitted a few months ago, but it was found out that the default-by-family: [] were missing in the GPIO .yml lines. This was fixed in this patch. This patch accounts for different pins for the ETH peripheral on STM32H7 devices. For example, the Nucleo H743ZI has slightly different pins than other STM32H7 boards.
Diffstat (limited to 'spec')
-rw-r--r--spec/build/bsps/arm/stm32h7/grp.yml4
-rw-r--r--spec/build/bsps/arm/stm32h7/optethgpiobregs.yml20
-rw-r--r--spec/build/bsps/arm/stm32h7/optethgpiogregs.yml20
3 files changed, 44 insertions, 0 deletions
diff --git a/spec/build/bsps/arm/stm32h7/grp.yml b/spec/build/bsps/arm/stm32h7/grp.yml
index 2147cdec88..a7e7affa05 100644
--- a/spec/build/bsps/arm/stm32h7/grp.yml
+++ b/spec/build/bsps/arm/stm32h7/grp.yml
@@ -84,6 +84,10 @@ links:
- role: build-dependency
uid: optvariant
- role: build-dependency
+ uid: optethgpiogregs
+- role: build-dependency
+ uid: optethgpiobregs
+- role: build-dependency
uid: ../../optconsolebaud
- role: build-dependency
uid: ../../optconsoleirq
diff --git a/spec/build/bsps/arm/stm32h7/optethgpiobregs.yml b/spec/build/bsps/arm/stm32h7/optethgpiobregs.yml
new file mode 100644
index 0000000000..d9898cbc79
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/optethgpiobregs.yml
@@ -0,0 +1,20 @@
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+default: null
+default-by-family: []
+default-by-variant:
+- value: GPIO_PIN_13
+ variants:
+ - arm/nucleo-h743zi
+enabled-by: true
+format: '{}'
+links: []
+name: STM32H7_ETH_GPIOB_PINS
+description: |
+ GPIO B pins used for the ETH pin configuration.
+type: build
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optethgpiogregs.yml b/spec/build/bsps/arm/stm32h7/optethgpiogregs.yml
new file mode 100644
index 0000000000..6a79082927
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/optethgpiogregs.yml
@@ -0,0 +1,20 @@
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+default: ( GPIO_PIN_11 | GPIO_PIN_12 | GPIO_PIN_13 )
+default-by-family: []
+default-by-variant:
+- value: ( GPIO_PIN_2 | GPIO_PIN_11 | GPIO_PIN_13 )
+ variants:
+ - arm/nucleo-h743zi
+enabled-by: true
+format: '{}'
+links: []
+name: STM32H7_ETH_GPIOG_PINS
+description: |
+ GPIO G pins used for the ETH pin configuration.
+type: build
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)