[PATCH 3/7] bsps/stm32h7: disable all U(S)ARTs except USART1 on stm32h757i-eval BSP

Karel Gardas karel at functional.vision
Mon May 16 12:12:50 UTC 2022


This patch disables all U(S)ARTs which are not supported by the board
itself and its provided connectors.

Sponsored-By:	Precidata
---
 spec/build/bsps/arm/stm32h7/optenuart4.yml   | 5 ++++-
 spec/build/bsps/arm/stm32h7/optenuart5.yml   | 1 +
 spec/build/bsps/arm/stm32h7/optenuart7.yml   | 1 +
 spec/build/bsps/arm/stm32h7/optenuart8.yml   | 1 +
 spec/build/bsps/arm/stm32h7/optenuart9.yml   | 1 +
 spec/build/bsps/arm/stm32h7/optenusart10.yml | 1 +
 spec/build/bsps/arm/stm32h7/optenusart2.yml  | 6 +++++-
 spec/build/bsps/arm/stm32h7/optenusart3.yml  | 1 +
 spec/build/bsps/arm/stm32h7/optenusart6.yml  | 1 +
 9 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/spec/build/bsps/arm/stm32h7/optenuart4.yml b/spec/build/bsps/arm/stm32h7/optenuart4.yml
index cd5fd31370..8665f4c821 100644
--- a/spec/build/bsps/arm/stm32h7/optenuart4.yml
+++ b/spec/build/bsps/arm/stm32h7/optenuart4.yml
@@ -3,7 +3,10 @@ actions:
 - define-condition: null
 build-type: option
 default: true
-default-by-variant: []
+default-by-variant:
+- value: false
+  variants:
+  - arm/stm32h757i-eval
 enabled-by: true
 format: '{}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optenuart5.yml b/spec/build/bsps/arm/stm32h7/optenuart5.yml
index 413f9447b8..f32f719f49 100644
--- a/spec/build/bsps/arm/stm32h7/optenuart5.yml
+++ b/spec/build/bsps/arm/stm32h7/optenuart5.yml
@@ -7,6 +7,7 @@ default-by-variant:
 - value: false
   variants:
   - arm/stm32h7b3i-dk
+  - arm/stm32h757i-eval
 enabled-by: true
 format: '{}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optenuart7.yml b/spec/build/bsps/arm/stm32h7/optenuart7.yml
index c9884fcb46..bd9ed8fe76 100644
--- a/spec/build/bsps/arm/stm32h7/optenuart7.yml
+++ b/spec/build/bsps/arm/stm32h7/optenuart7.yml
@@ -7,6 +7,7 @@ default-by-variant:
 - value: false
   variants:
   - arm/stm32h7b3i-dk
+  - arm/stm32h757i-eval
 enabled-by: true
 format: '{}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optenuart8.yml b/spec/build/bsps/arm/stm32h7/optenuart8.yml
index 593f736970..74304e1256 100644
--- a/spec/build/bsps/arm/stm32h7/optenuart8.yml
+++ b/spec/build/bsps/arm/stm32h7/optenuart8.yml
@@ -7,6 +7,7 @@ default-by-variant:
 - value: false
   variants:
   - arm/stm32h7b3i-dk
+  - arm/stm32h757i-eval
 enabled-by: true
 format: '{}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optenuart9.yml b/spec/build/bsps/arm/stm32h7/optenuart9.yml
index 596aae59ef..76378c622d 100644
--- a/spec/build/bsps/arm/stm32h7/optenuart9.yml
+++ b/spec/build/bsps/arm/stm32h7/optenuart9.yml
@@ -7,6 +7,7 @@ default-by-variant:
 - value: false
   variants:
   - arm/stm32h7b3i-dk
+  - arm/stm32h757i-eval
 enabled-by: true
 format: '{}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optenusart10.yml b/spec/build/bsps/arm/stm32h7/optenusart10.yml
index d5c5a1906e..1558bdb017 100644
--- a/spec/build/bsps/arm/stm32h7/optenusart10.yml
+++ b/spec/build/bsps/arm/stm32h7/optenusart10.yml
@@ -7,6 +7,7 @@ default-by-variant:
 - value: false
   variants:
   - arm/stm32h7b3i-dk
+  - arm/stm32h757i-eval
 enabled-by: true
 format: '{}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optenusart2.yml b/spec/build/bsps/arm/stm32h7/optenusart2.yml
index 0bbec65278..05f73df137 100644
--- a/spec/build/bsps/arm/stm32h7/optenusart2.yml
+++ b/spec/build/bsps/arm/stm32h7/optenusart2.yml
@@ -3,7 +3,11 @@ actions:
 - define-condition: null
 build-type: option
 default: true
-default-by-variant: []
+default-by-variant:
+default-by-variant:
+- value: false
+  variants:
+  - arm/stm32h757i-eval
 enabled-by: true
 format: '{}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optenusart3.yml b/spec/build/bsps/arm/stm32h7/optenusart3.yml
index f74ea31fa3..1d676fdc3c 100644
--- a/spec/build/bsps/arm/stm32h7/optenusart3.yml
+++ b/spec/build/bsps/arm/stm32h7/optenusart3.yml
@@ -7,6 +7,7 @@ default-by-variant:
 - value: false
   variants:
   - arm/stm32h7b3i-dk
+  - arm/stm32h757i-eval
 enabled-by: true
 format: '{}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optenusart6.yml b/spec/build/bsps/arm/stm32h7/optenusart6.yml
index 51791b56cd..17761be7c3 100644
--- a/spec/build/bsps/arm/stm32h7/optenusart6.yml
+++ b/spec/build/bsps/arm/stm32h7/optenusart6.yml
@@ -7,6 +7,7 @@ default-by-variant:
 - value: false
   variants:
   - arm/stm32h7b3i-dk
+  - arm/stm32h757i-eval
 enabled-by: true
 format: '{}'
 links: []
-- 
2.25.1



More information about the devel mailing list