aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F4xx/USB_CDC
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32F4xx/USB_CDC')
-rw-r--r--testhal/STM32F4xx/USB_CDC/mcuconf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/testhal/STM32F4xx/USB_CDC/mcuconf.h b/testhal/STM32F4xx/USB_CDC/mcuconf.h
index b641a0888..c05969990 100644
--- a/testhal/STM32F4xx/USB_CDC/mcuconf.h
+++ b/testhal/STM32F4xx/USB_CDC/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