summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml')
-rw-r--r--spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml21
1 files changed, 12 insertions, 9 deletions
diff --git a/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml b/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml
index 049ed6a3ac..b4b2b6b774 100644
--- a/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml
@@ -1,19 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- define-unquoted: null
build-type: option
-default: GPIO_AF4_USART1
-default-by-variant:
-- value: GPIO_AF7_USART1
- variants:
+copyrights:
+- Copyright (C) 2022 Karel Gardas <karel@functional.vision>
+default:
+- enabled-by:
+ - arm/stm32h747i-disco
+ - arm/stm32h747i-disco-m4
- arm/stm32h7b3i-dk
+ value: GPIO_AF7_USART1
+- enabled-by: true
+ value: GPIO_AF4_USART1
+description: |
+ Alternate function mapping for the USART1 pin configuration.
enabled-by: true
format: '{}'
links: []
name: STM32H7_USART1_ALT_FUNC
-description: |
- Alternate function mapping for the USART1 pin configuration.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2022 Karel Gardas <karel@functional.vision>