aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/ports/STM32/STM32F4xx/stm32_registry.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
index d8667e605..2cb3de250 100644
--- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
@@ -374,7 +374,11 @@
#define STM32_HAS_DMA2 TRUE
/* ETH attributes.*/
+#if defined(STM32F405xx) || defined(STM32F415xx)
+#define STM32_HAS_ETH FALSE
+#else
#define STM32_HAS_ETH TRUE
+#endif
/* EXTI attributes.*/
#define STM32_EXTI_NUM_CHANNELS 23