summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/arm/stm32h7/optpwrsupply.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/build/bsps/arm/stm32h7/optpwrsupply.yml')
-rw-r--r--spec/build/bsps/arm/stm32h7/optpwrsupply.yml26
1 files changed, 17 insertions, 9 deletions
diff --git a/spec/build/bsps/arm/stm32h7/optpwrsupply.yml b/spec/build/bsps/arm/stm32h7/optpwrsupply.yml
index d7eeb63906..2fec330314 100644
--- a/spec/build/bsps/arm/stm32h7/optpwrsupply.yml
+++ b/spec/build/bsps/arm/stm32h7/optpwrsupply.yml
@@ -1,19 +1,27 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- define-unquoted: null
build-type: option
-default: PWR_LDO_SUPPLY
-default-by-variant:
-- value: PWR_DIRECT_SMPS_SUPPLY
- variants:
+copyrights:
+- Copyright (C) 2022 Karel Gardas <karel@functional.vision>
+default:
+- enabled-by:
+ - arm/stm32h747i-disco
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h757i-eval
+ - arm/stm32h757i-eval-m4
- arm/stm32h7b3i-dk
+ value: PWR_DIRECT_SMPS_SUPPLY
+- enabled-by: true
+ value: PWR_LDO_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.
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>