summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorKarel Gardas <karel@functional.vision>2022-04-01 18:14:09 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-04-05 09:56:05 +0200
commit044bc3ceab0703d079c4393c46615e7aa1732b93 (patch)
tree3b05d4d9255fcd4adec6e09f96349c67371e1730 /spec
parentbsp/stm32h7: add spec file for the STM32H7B3I-DK BSP variant (diff)
downloadrtems-044bc3ceab0703d079c4393c46615e7aa1732b93.tar.bz2
bsp/stm32h7: add power supply configuration
Diffstat (limited to 'spec')
-rw-r--r--spec/build/bsps/arm/stm32h7/grp.yml2
-rw-r--r--spec/build/bsps/arm/stm32h7/optpwrsupply.yml19
2 files changed, 21 insertions, 0 deletions
diff --git a/spec/build/bsps/arm/stm32h7/grp.yml b/spec/build/bsps/arm/stm32h7/grp.yml
index 5e26a3e072..7b001e3701 100644
--- a/spec/build/bsps/arm/stm32h7/grp.yml
+++ b/spec/build/bsps/arm/stm32h7/grp.yml
@@ -80,6 +80,8 @@ links:
- role: build-dependency
uid: optprintkinstance
- role: build-dependency
+ uid: optpwrsupply
+- role: build-dependency
uid: optusart3gpiopins
- role: build-dependency
uid: optusart3gpioregs
diff --git a/spec/build/bsps/arm/stm32h7/optpwrsupply.yml b/spec/build/bsps/arm/stm32h7/optpwrsupply.yml
new file mode 100644
index 0000000000..d7eeb63906
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/optpwrsupply.yml
@@ -0,0 +1,19 @@
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+default: PWR_LDO_SUPPLY
+default-by-variant:
+- value: PWR_DIRECT_SMPS_SUPPLY
+ variants:
+ - arm/stm32h7b3i-dk
+enabled-by: true
+format: '{}'
+links: []
+name: STM32H7_PWR_SUPPLY
+description: |
+ Board power supply mechanism configuration. WARNING: wrong configuration here may result in your board being unaccessible using ST-Link interface! Please consult board datasheet for more information about various power supply options and about how to fix possible misconfiguration.
+type: build
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2022 Karel Gardas <karel@functional.vision>