[PATCH 07/14] bsp/stm32h7: configure S(D)RAM values for STM32H7B3I-DK BSP variant

Karel Gardas karel at functional.vision
Fri Apr 1 16:14:14 UTC 2022


Caveat: SDRAM 1 is completely disabled for now.
---
 spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml  | 5 ++++-
 spec/build/bsps/arm/stm32h7/optmemsram1sz.yml   | 5 ++++-
 spec/build/bsps/arm/stm32h7/optmemsram2sz.yml   | 5 ++++-
 spec/build/bsps/arm/stm32h7/optmemsram3sz.yml   | 5 ++++-
 spec/build/bsps/arm/stm32h7/optmemsram4sz.yml   | 5 ++++-
 spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml | 5 ++++-
 6 files changed, 24 insertions(+), 6 deletions(-)

diff --git a/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml b/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml
index 11228ddb92..b748d7d3f7 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml
@@ -3,7 +3,10 @@ actions:
 - env-assign: null
 build-type: option
 default: 33554432
-default-by-variant: []
+default-by-variant:
+- value: 0
+  variants:
+  - arm/stm32h7b3i-dk
 enabled-by: true
 format: '{:#010x}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optmemsram1sz.yml b/spec/build/bsps/arm/stm32h7/optmemsram1sz.yml
index 01e9dbe1cc..8e071f0939 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsram1sz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsram1sz.yml
@@ -3,7 +3,10 @@ actions:
 - env-assign: null
 build-type: option
 default: 0x20000
-default-by-variant: []
+default-by-variant:
+- value: 0x10000
+  variants:
+  - arm/stm32h7b3i-dk
 enabled-by: true
 format: '{:#010x}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optmemsram2sz.yml b/spec/build/bsps/arm/stm32h7/optmemsram2sz.yml
index 2a4890730a..782d7ba58c 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsram2sz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsram2sz.yml
@@ -3,7 +3,10 @@ actions:
 - env-assign: null
 build-type: option
 default: 0x20000
-default-by-variant: []
+default-by-variant:
+- value: 0x10000
+  variants:
+  - arm/stm32h7b3i-dk
 enabled-by: true
 format: '{:#010x}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optmemsram3sz.yml b/spec/build/bsps/arm/stm32h7/optmemsram3sz.yml
index eca335fd81..a4cd8c4eda 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsram3sz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsram3sz.yml
@@ -3,7 +3,10 @@ actions:
 - env-assign: null
 build-type: option
 default: 0x8000
-default-by-variant: []
+default-by-variant:
+- value: 0x0
+  variants:
+  - arm/stm32h7b3i-dk
 enabled-by: true
 format: '{:#010x}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optmemsram4sz.yml b/spec/build/bsps/arm/stm32h7/optmemsram4sz.yml
index cda2e722a4..9749bdfc6a 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsram4sz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsram4sz.yml
@@ -3,7 +3,10 @@ actions:
 - env-assign: null
 build-type: option
 default: 0x10000
-default-by-variant: []
+default-by-variant:
+- value: 0x8000
+  variants:
+  - arm/stm32h7b3i-dk
 enabled-by: true
 format: '{:#010x}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml b/spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml
index 9cb05540b7..89e116c1de 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml
@@ -3,7 +3,10 @@ actions:
 - env-assign: null
 build-type: option
 default: 0x80000
-default-by-variant: []
+default-by-variant:
+- value: 0xA0000
+  variants:
+  - arm/stm32h7b3i-dk
 enabled-by: true
 format: '{:#010x}'
 links: []
-- 
2.25.1



More information about the devel mailing list