[PATCH 1/8] bsp/stm32h7: move compilation of system files to BSPs spec. files

Karel Gardas karel at functional.vision
Sun May 15 20:10:37 UTC 2022


The patch is done in preparation for stm32h7 BSP tree refactoring.

Sponsored-By:	Precidata
---
 spec/build/bsps/arm/stm32h7/bspnucleoh743zi.yml  | 7 ++++++-
 spec/build/bsps/arm/stm32h7/bspstm32h7.yml       | 7 ++++++-
 spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml | 7 ++++++-
 spec/build/bsps/arm/stm32h7/obj.yml              | 5 -----
 4 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/spec/build/bsps/arm/stm32h7/bspnucleoh743zi.yml b/spec/build/bsps/arm/stm32h7/bspnucleoh743zi.yml
index 037c777adb..9213500172 100644
--- a/spec/build/bsps/arm/stm32h7/bspnucleoh743zi.yml
+++ b/spec/build/bsps/arm/stm32h7/bspnucleoh743zi.yml
@@ -13,5 +13,10 @@ install: []
 links:
 - role: build-dependency
   uid: grp
-source: []
+source:
+- bsps/arm/stm32h7/start/stm32h7-config-clk.c
+- bsps/arm/stm32h7/start/stm32h7-config-osc.c
+- bsps/arm/stm32h7/start/stm32h7-config-per.c
+- bsps/arm/stm32h7/start/system_stm32h7xx.c
+- bsps/arm/stm32h7/start/ext-mem-ctl.c
 type: build
diff --git a/spec/build/bsps/arm/stm32h7/bspstm32h7.yml b/spec/build/bsps/arm/stm32h7/bspstm32h7.yml
index a1aa1d3146..9ea64de9cb 100644
--- a/spec/build/bsps/arm/stm32h7/bspstm32h7.yml
+++ b/spec/build/bsps/arm/stm32h7/bspstm32h7.yml
@@ -13,5 +13,10 @@ install: []
 links:
 - role: build-dependency
   uid: grp
-source: []
+source:
+- bsps/arm/stm32h7/start/stm32h7-config-clk.c
+- bsps/arm/stm32h7/start/stm32h7-config-osc.c
+- bsps/arm/stm32h7/start/stm32h7-config-per.c
+- bsps/arm/stm32h7/start/system_stm32h7xx.c
+- bsps/arm/stm32h7/start/ext-mem-ctl.c
 type: build
diff --git a/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml b/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml
index fd012bc47a..e878cdbdce 100644
--- a/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml
+++ b/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml
@@ -15,5 +15,10 @@ links:
   uid: grp
 - role: build-dependency
   uid: ../../tstsmallmem
-source: []
+source:
+- bsps/arm/stm32h7/start/stm32h7-config-clk.c
+- bsps/arm/stm32h7/start/stm32h7-config-osc.c
+- bsps/arm/stm32h7/start/stm32h7-config-per.c
+- bsps/arm/stm32h7/start/system_stm32h7xx.c
+- bsps/arm/stm32h7/start/ext-mem-ctl.c
 type: build
diff --git a/spec/build/bsps/arm/stm32h7/obj.yml b/spec/build/bsps/arm/stm32h7/obj.yml
index c0d5af411a..93fa91f023 100644
--- a/spec/build/bsps/arm/stm32h7/obj.yml
+++ b/spec/build/bsps/arm/stm32h7/obj.yml
@@ -317,19 +317,14 @@ source:
 - bsps/arm/stm32h7/hal/stm32h7xx_ll_utils.c
 - bsps/arm/stm32h7/start/bspstart.c
 - bsps/arm/stm32h7/start/bspstarthooks.c
-- bsps/arm/stm32h7/start/ext-mem-ctl.c
 - bsps/arm/stm32h7/start/getentropy-rng.c
 - bsps/arm/stm32h7/start/mpu-config.c
-- bsps/arm/stm32h7/start/stm32h7-config-clk.c
 - bsps/arm/stm32h7/start/stm32h7-config-fls.c
-- bsps/arm/stm32h7/start/stm32h7-config-osc.c
-- bsps/arm/stm32h7/start/stm32h7-config-per.c
 - bsps/arm/stm32h7/start/stm32h7-config-pwr.c
 - bsps/arm/stm32h7/start/stm32h7-hal-eth.c
 - bsps/arm/stm32h7/start/stm32h7-hal-sdmmc.c
 - bsps/arm/stm32h7/start/stm32h7-hal-uart.c
 - bsps/arm/stm32h7/start/stm32h7-hal.c
-- bsps/arm/stm32h7/start/system_stm32h7xx.c
 - bsps/shared/dev/btimer/btimer-cpucounter.c
 - bsps/shared/dev/rtc/rtc-support.c
 - bsps/shared/dev/serial/console-termios.c
-- 
2.25.1



More information about the devel mailing list