SAME54 Ethernet driver

This commit is contained in:
robert authored and cpq committed 2023-08-04 13:48:55 +01:00
1 parent 3a06b4833c
commit b5213c13dd
16 files changed
+1354

No files matched your search

+12
View File
@@ -1696,6 +1696,7 @@ extern struct mg_tcpip_driver mg_tcpip_driver_w5500;
extern struct mg_tcpip_driver mg_tcpip_driver_tm4c;
extern struct mg_tcpip_driver mg_tcpip_driver_stm32h;
extern struct mg_tcpip_driver mg_tcpip_driver_imxrt;
extern struct mg_tcpip_driver mg_tcpip_driver_same54;
// Drivers that require SPI, can use this SPI abstraction
struct mg_tcpip_spi {
@@ -1722,6 +1723,17 @@ struct mg_tcpip_driver_imxrt1020_data {
};
#if MG_ENABLE_TCPIP && defined(MG_ENABLE_DRIVER_SAME54) && MG_ENABLE_DRIVER_SAME54
#include "hal.h" // keep this include
struct mg_tcpip_driver_same54_data {
int mdc_cr;
};
#endif
struct mg_tcpip_driver_stm32_data {
// MDC clock divider. MDC clock is derived from HCLK, must not exceed 2.5MHz
// HCLK range DIVIDER mdc_cr VALUE