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.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml b/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml
index e0f39814e8..b4b2b6b774 100644
--- a/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml
@@ -5,13 +5,14 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2022 Karel Gardas <karel@functional.vision>
-default: GPIO_AF4_USART1
-default-by-variant:
-- value: GPIO_AF7_USART1
- variants:
+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