You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by je...@apache.org on 2023/04/05 20:58:56 UTC
[mynewt-core] branch master updated: stm32h7: Add repository reference to mcu package
This is an automated email from the ASF dual-hosted git repository.
jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push:
new 875023889 stm32h7: Add repository reference to mcu package
875023889 is described below
commit 87502388937c65c0b75dff1def72bdfcafafe034
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Tue Apr 4 22:35:27 2023 +0200
stm32h7: Add repository reference to mcu package
So far commit message instructed how to add ST repositories
to project.yml
Now repository specification is stored in package for out of the box usage.
---
hw/mcu/stm/stm32h7xx/pkg.yml | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/hw/mcu/stm/stm32h7xx/pkg.yml b/hw/mcu/stm/stm32h7xx/pkg.yml
index 5969b21d0..5006c4970 100644
--- a/hw/mcu/stm/stm32h7xx/pkg.yml
+++ b/hw/mcu/stm/stm32h7xx/pkg.yml
@@ -31,12 +31,12 @@ pkg.ign_files:
- ".*template.*"
pkg.include_dirs:
- - "@cmsis_device_h7/Include"
- - "@stm32h7xx_hal_driver/Inc"
+ - "@stm-cmsis_device_h7/Include"
+ - "@stm-stm32h7xx_hal_driver/Inc"
pkg.src_dirs:
- - "@cmsis_device_h7/Source/Templates/gcc"
- - "@stm32h7xx_hal_driver/Src"
+ - "@stm-cmsis_device_h7/Source/Templates/gcc"
+ - "@stm-stm32h7xx_hal_driver/Src"
- "src"
pkg.ign_dirs:
@@ -49,3 +49,17 @@ pkg.deps:
pkg.deps.'(SPI_0_MASTER || SPI_1_MASTER || SPI_2_MASTER || SPI_3_MASTER || SPI_4_MASTER || SPI_5_MASTER) && BUS_DRIVER_PRESENT':
- "@apache-mynewt-core/hw/bus/drivers/spi_stm32"
+
+repository.stm-cmsis_device_h7:
+ type: github
+ vers: v1.10.3-commit
+ branch: master
+ user: STMicroelectronics
+ repo: cmsis_device_h7
+
+repository.stm-stm32h7xx_hal_driver:
+ type: github
+ vers: v1.11.1-commit
+ branch: master
+ user: STMicroelectronics
+ repo: stm32h7xx_hal_driver