rewrite ethernetif to use ch32v208_eth.hg

This commit is contained in:
2025-11-13 02:16:21 +06:00
parent fe6cc2ebb9
commit 537e7bfe10
5 changed files with 152 additions and 341 deletions

2
main.c
View File

@@ -20,7 +20,7 @@
#define HSE_STARTUP_TIMEOUT 10000
#define PLL_LOCK_TIMEOUT 10000
#define LED_TOGGLE_INTERVAL_MS 500
#define LINK_POLL_INTERVAL_MS 500
#define LINK_POLL_INTERVAL_MS 100
#define RCC_PREDIV1_OFFSET 0
#define HSE_CLOCK_MHZ 32