[rtems commit] bsp/stm32h7: move compilation of system files to BSPs spec. files

Sebastian Huber sebh at rtems.org
Mon May 16 08:20:05 UTC 2022


Module:    rtems
Branch:    master
Commit:    836eeb686b7a1615129dda3bb6ef5cf32239fd0f
Changeset: http://git.rtems.org/rtems/commit/?id=836eeb686b7a1615129dda3bb6ef5cf32239fd0f

Author:    Karel Gardas <karel at functional.vision>
Date:      Sun May 15 22:10:37 2022 +0200

bsp/stm32h7: move compilation of system files to BSPs spec. files

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



More information about the vc mailing list