Skip to content

Commit 6fbb445

Browse files
committed
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 <[email protected]>
1 parent 3e70b82 commit 6fbb445

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

hw/bsp/nucleo-u575zi-q/src/hal_bsp.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@
3030
#include <stm32_common/stm32_hal.h>
3131
#include <bus/drivers/spi_common.h>
3232

33-
#if MYNEWT_VAL(ETH_0)
34-
#include <stm32_eth/stm32_eth.h>
35-
#include <stm32_eth/stm32_eth_cfg.h>
36-
#endif
37-
3833
#if MYNEWT_VAL(PWM_0) || MYNEWT_VAL(PWM_1) || MYNEWT_VAL(PWM_2)
3934
#include <pwm_stm32/pwm_stm32.h>
4035
#endif

hw/bsp/p-nucleo-wb55-usbdongle/src/hal_bsp.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@
2828
#include <stm32wb55xx.h>
2929
#include <stm32_common/stm32_hal.h>
3030

31-
#if MYNEWT_VAL(ETH_0)
32-
#include <stm32_eth/stm32_eth.h>
33-
#include <stm32_eth/stm32_eth_cfg.h>
34-
#endif
35-
3631
#if MYNEWT_VAL(PWM_0) || MYNEWT_VAL(PWM_1) || MYNEWT_VAL(PWM_2)
3732
#include <pwm_stm32/pwm_stm32.h>
3833
#endif

hw/bsp/p-nucleo-wb55/src/hal_bsp.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@
2828
#include <stm32wb55xx.h>
2929
#include <stm32_common/stm32_hal.h>
3030

31-
#if MYNEWT_VAL(ETH_0)
32-
#include <stm32_eth/stm32_eth.h>
33-
#include <stm32_eth/stm32_eth_cfg.h>
34-
#endif
35-
3631
#if MYNEWT_VAL(PWM_0) || MYNEWT_VAL(PWM_1) || MYNEWT_VAL(PWM_2)
3732
#include <pwm_stm32/pwm_stm32.h>
3833
#endif

0 commit comments

Comments
 (0)