aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM4-STM32F407-LWIP/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/ARMCM4-STM32F407-LWIP/mcuconf.h')
-rw-r--r--demos/ARMCM4-STM32F407-LWIP/mcuconf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/demos/ARMCM4-STM32F407-LWIP/mcuconf.h b/demos/ARMCM4-STM32F407-LWIP/mcuconf.h
index 19a11d441..02ccefc21 100644
--- a/demos/ARMCM4-STM32F407-LWIP/mcuconf.h
+++ b/demos/ARMCM4-STM32F407-LWIP/mcuconf.h
@@ -164,6 +164,17 @@
#define STM32_ICU_TIM8_IRQ_PRIORITY 7
/*
+ * MAC driver system settings.
+ */
+#define STM32_MAC_TRANSMIT_BUFFERS 2
+#define STM32_MAC_RECEIVE_BUFFERS 4
+#define STM32_MAC_BUFFERS_SIZE 1522
+#define STM32_MAC_PHY_TIMEOUT 100
+#define STM32_MAC_ETH1_CHANGE_PHY_STATE TRUE
+#define STM32_MAC_ETH1_IRQ_PRIORITY 13
+#define STM32_MAC_IP_CHECKSUM_OFFLOAD 0
+
+/*
* PWM driver system settings.
*/
#define STM32_PWM_USE_ADVANCED FALSE