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/05/19 07:03:35 UTC
[mynewt-core] branch master updated: mcu/stm32: Fix ADC dependencies
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 c65fe7cb2 mcu/stm32: Fix ADC dependencies
c65fe7cb2 is described below
commit c65fe7cb269c415a5cbcdd28034b0edd452918bc
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Thu May 18 10:54:13 2023 +0200
mcu/stm32: Fix ADC dependencies
Package adc_stm32f4 was included for all STM32 devices when
ADC_x was enabled.
adc_stm32f4 will only build for STM32F4 devices so dependency is
moved to appropriate package
Signed-off-by: Jerzy Kasenberg <je...@codecoup.pl>
---
hw/mcu/stm/stm32_common/pkg.yml | 7 -------
hw/mcu/stm/stm32f4xx/pkg.yml | 7 +++++++
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/hw/mcu/stm/stm32_common/pkg.yml b/hw/mcu/stm/stm32_common/pkg.yml
index d2e80da73..a0ef069f0 100644
--- a/hw/mcu/stm/stm32_common/pkg.yml
+++ b/hw/mcu/stm/stm32_common/pkg.yml
@@ -55,10 +55,3 @@ pkg.deps.CRYPTO:
pkg.deps.HASH:
- "@apache-mynewt-core/hw/drivers/hash/hash_stm32"
-
-pkg.deps.ADC_0:
- - "@apache-mynewt-core/hw/drivers/adc/adc_stm32f4"
-pkg.deps.ADC_1:
- - "@apache-mynewt-core/hw/drivers/adc/adc_stm32f4"
-pkg.deps.ADC_2:
- - "@apache-mynewt-core/hw/drivers/adc/adc_stm32f4"
diff --git a/hw/mcu/stm/stm32f4xx/pkg.yml b/hw/mcu/stm/stm32f4xx/pkg.yml
index 69cec6646..37507cdb6 100644
--- a/hw/mcu/stm/stm32f4xx/pkg.yml
+++ b/hw/mcu/stm/stm32f4xx/pkg.yml
@@ -49,6 +49,13 @@ 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"
+pkg.deps.ADC_0:
+ - "@apache-mynewt-core/hw/drivers/adc/adc_stm32f4"
+pkg.deps.ADC_1:
+ - "@apache-mynewt-core/hw/drivers/adc/adc_stm32f4"
+pkg.deps.ADC_2:
+ - "@apache-mynewt-core/hw/drivers/adc/adc_stm32f4"
+
repository.stm-cmsis_device_f4:
type: github
vers: v2.6.8-commit