[PATCH 3/7] bsps/stm32h7: move cache implementation from obj to BSPs own yml file

Karel Gardas karel at functional.vision
Sun May 29 23:36:04 UTC 2022


This is done in preparation for future Cortex-M4 based BSP variants
which do not provide cache at all.

Sponsored-By:	Precidata
---
 spec/build/bsps/arm/stm32h7/bspnucleoh743zi.yml    | 1 +
 spec/build/bsps/arm/stm32h7/bspstm32h7.yml         | 1 +
 spec/build/bsps/arm/stm32h7/bspstm32h757i-eval.yml | 1 +
 spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml   | 1 +
 spec/build/bsps/arm/stm32h7/obj.yml                | 1 -
 5 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/spec/build/bsps/arm/stm32h7/bspnucleoh743zi.yml b/spec/build/bsps/arm/stm32h7/bspnucleoh743zi.yml
index 1cad10b39d..9a3e556eda 100644
--- a/spec/build/bsps/arm/stm32h7/bspnucleoh743zi.yml
+++ b/spec/build/bsps/arm/stm32h7/bspnucleoh743zi.yml
@@ -19,4 +19,5 @@ source:
 - bsps/arm/stm32h7/boards/stm/nucleo-h743zi/stm32h7-config-per.c
 - bsps/arm/stm32h7/boards/stm/nucleo-h743zi/system_stm32h7xx.c
 - bsps/arm/stm32h7/boards/stm/nucleo-h743zi/ext-mem-ctl.c
+- bsps/arm/shared/cache/cache-v7m.c
 type: build
diff --git a/spec/build/bsps/arm/stm32h7/bspstm32h7.yml b/spec/build/bsps/arm/stm32h7/bspstm32h7.yml
index 89ded74e05..52d47295d9 100644
--- a/spec/build/bsps/arm/stm32h7/bspstm32h7.yml
+++ b/spec/build/bsps/arm/stm32h7/bspstm32h7.yml
@@ -19,4 +19,5 @@ source:
 - bsps/arm/stm32h7/boards/stm/stm32h743i-eval/stm32h7-config-per.c
 - bsps/arm/stm32h7/boards/stm/stm32h743i-eval/system_stm32h7xx.c
 - bsps/arm/stm32h7/boards/stm/stm32h743i-eval/ext-mem-ctl.c
+- bsps/arm/shared/cache/cache-v7m.c
 type: build
diff --git a/spec/build/bsps/arm/stm32h7/bspstm32h757i-eval.yml b/spec/build/bsps/arm/stm32h7/bspstm32h757i-eval.yml
index 541210952c..c8a4df954a 100644
--- a/spec/build/bsps/arm/stm32h7/bspstm32h757i-eval.yml
+++ b/spec/build/bsps/arm/stm32h7/bspstm32h757i-eval.yml
@@ -20,4 +20,5 @@ source:
 - bsps/arm/stm32h7/boards/stm/stm32h757i-eval/stm32h7-config-osc.c
 - bsps/arm/stm32h7/boards/stm/stm32h757i-eval/stm32h7-config-per.c
 - bsps/arm/stm32h7/boards/stm/stm32h757i-eval/system_stm32h7xx.c
+- bsps/arm/shared/cache/cache-v7m.c
 type: build
diff --git a/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml b/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml
index f3456cacca..907c107a33 100644
--- a/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml
+++ b/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml
@@ -21,4 +21,5 @@ source:
 - bsps/arm/stm32h7/boards/stm/stm32h7b3i-dk/stm32h7-config-per.c
 - bsps/arm/stm32h7/boards/stm/stm32h7b3i-dk/system_stm32h7xx.c
 - bsps/arm/stm32h7/boards/stm/stm32h7b3i-dk/ext-mem-ctl.c
+- bsps/arm/shared/cache/cache-v7m.c
 type: build
diff --git a/spec/build/bsps/arm/stm32h7/obj.yml b/spec/build/bsps/arm/stm32h7/obj.yml
index 93fa91f023..9b1cc62a22 100644
--- a/spec/build/bsps/arm/stm32h7/obj.yml
+++ b/spec/build/bsps/arm/stm32h7/obj.yml
@@ -171,7 +171,6 @@ install:
   - bsps/arm/stm32h7/include/stm32h7/mpu-config.h
 links: []
 source:
-- bsps/arm/shared/cache/cache-v7m.c
 - bsps/arm/shared/clock/clock-armv7m.c
 - bsps/arm/shared/cpucounter/cpucounter-armv7m.c
 - bsps/arm/shared/irq/irq-armv7m.c
-- 
2.25.1



More information about the devel mailing list