aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-03 12:00:04 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-03 12:00:04 +0000
commit96efc48888ea4230798d1e1c9667424a3d61f519 (patch)
tree9ec7d9b84ae1622845f302a98384010dc2d5348a /os
parenta4e3c3fca0827b53ea6e574d4bab76652e33fceb (diff)
downloadChibiOS-96efc48888ea4230798d1e1c9667424a3d61f519.tar.gz
ChibiOS-96efc48888ea4230798d1e1c9667424a3d61f519.tar.bz2
ChibiOS-96efc48888ea4230798d1e1c9667424a3d61f519.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7355 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-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