[PATCH 3/3] bsps/stm32h7: disable Ethernet completely on nucleo-h7a3zi BSP

Karel Gardas karel at functional.vision
Sun Jul 24 21:59:26 UTC 2022


The board and hosted MCU do not provide any Ethernet support anyway.
---
 bsps/arm/stm32h7/start/stm32h7-hal-eth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/arm/stm32h7/start/stm32h7-hal-eth.c b/bsps/arm/stm32h7/start/stm32h7-hal-eth.c
index 5fc75f0147..173d97c31f 100644
--- a/bsps/arm/stm32h7/start/stm32h7-hal-eth.c
+++ b/bsps/arm/stm32h7/start/stm32h7-hal-eth.c
@@ -33,7 +33,7 @@
 
 #include <bspopts.h>
 
-#ifndef STM32H7B3xxQ
+#if !defined(STM32H7B3xxQ) && !defined(STM32H7A3xxQ)
 
 static const stm32h7_gpio_config gpiog = {
   .regs = GPIOG,
-- 
2.25.1



More information about the devel mailing list