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:03 UTC

[mynewt-core] branch master updated: hw/bsp: stm32u5/stm32wb: remove reference to ETH

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 6fbb4459d hw/bsp: stm32u5/stm32wb: remove reference to ETH
6fbb4459d is described below

commit 6fbb4459d8d236cdb9d655bc1064ece362eb07ca
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Thu May 18 10:56:41 2023 +0200

    hw/bsp: stm32u5/stm32wb: remove reference to ETH
    
    STM32U5 and STM32WB don't ethernet peripheral in any version
    so extra includes are removed now.
    
    Signed-off-by: Jerzy Kasenberg <je...@codecoup.pl>
---
 hw/bsp/nucleo-u575zi-q/src/hal_bsp.c         | 5 -----
 hw/bsp/p-nucleo-wb55-usbdongle/src/hal_bsp.c | 5 -----
 hw/bsp/p-nucleo-wb55/src/hal_bsp.c           | 5 -----
 3 files changed, 15 deletions(-)

diff --git a/hw/bsp/nucleo-u575zi-q/src/hal_bsp.c b/hw/bsp/nucleo-u575zi-q/src/hal_bsp.c
index f8517bd56..802edb1af 100644
--- a/hw/bsp/nucleo-u575zi-q/src/hal_bsp.c
+++ b/hw/bsp/nucleo-u575zi-q/src/hal_bsp.c
@@ -30,11 +30,6 @@
 #include <stm32_common/stm32_hal.h>
 #include <bus/drivers/spi_common.h>
 
-#if MYNEWT_VAL(ETH_0)
-#include <stm32_eth/stm32_eth.h>
-#include <stm32_eth/stm32_eth_cfg.h>
-#endif
-
 #if MYNEWT_VAL(PWM_0) || MYNEWT_VAL(PWM_1) || MYNEWT_VAL(PWM_2)
 #include <pwm_stm32/pwm_stm32.h>
 #endif
diff --git a/hw/bsp/p-nucleo-wb55-usbdongle/src/hal_bsp.c b/hw/bsp/p-nucleo-wb55-usbdongle/src/hal_bsp.c
index f93192996..7f276cfb0 100644
--- a/hw/bsp/p-nucleo-wb55-usbdongle/src/hal_bsp.c
+++ b/hw/bsp/p-nucleo-wb55-usbdongle/src/hal_bsp.c
@@ -28,11 +28,6 @@
 #include <stm32wb55xx.h>
 #include <stm32_common/stm32_hal.h>
 
-#if MYNEWT_VAL(ETH_0)
-#include <stm32_eth/stm32_eth.h>
-#include <stm32_eth/stm32_eth_cfg.h>
-#endif
-
 #if MYNEWT_VAL(PWM_0) || MYNEWT_VAL(PWM_1) || MYNEWT_VAL(PWM_2)
 #include <pwm_stm32/pwm_stm32.h>
 #endif
diff --git a/hw/bsp/p-nucleo-wb55/src/hal_bsp.c b/hw/bsp/p-nucleo-wb55/src/hal_bsp.c
index da0fbae5e..6e289b1c2 100644
--- a/hw/bsp/p-nucleo-wb55/src/hal_bsp.c
+++ b/hw/bsp/p-nucleo-wb55/src/hal_bsp.c
@@ -28,11 +28,6 @@
 #include <stm32wb55xx.h>
 #include <stm32_common/stm32_hal.h>
 
-#if MYNEWT_VAL(ETH_0)
-#include <stm32_eth/stm32_eth.h>
-#include <stm32_eth/stm32_eth_cfg.h>
-#endif
-
 #if MYNEWT_VAL(PWM_0) || MYNEWT_VAL(PWM_1) || MYNEWT_VAL(PWM_2)
 #include <pwm_stm32/pwm_stm32.h>
 #endif