File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737#endif
3838
3939// PHY_GENERIC support requires newer IDF version
40- #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL (5 , 4 , 0 ) && CONFIG_IDF_TARGET_ESP32
40+ #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL (5 , 4 , 0 )
4141#define PHY_GENERIC_ENABLED (1)
4242#else
4343#define PHY_GENERIC_ENABLED (0)
Original file line number Diff line number Diff line change @@ -387,7 +387,7 @@ typedef long mp_off_t;
387387void boardctrl_startup (void );
388388
389389#ifndef MICROPY_PY_NETWORK_LAN
390- #if CONFIG_IDF_TARGET_ESP32 || (CONFIG_ETH_USE_SPI_ETHERNET && (CONFIG_ETH_SPI_ETHERNET_KSZ8851SNL || CONFIG_ETH_SPI_ETHERNET_DM9051 || CONFIG_ETH_SPI_ETHERNET_W5500 ))
390+ #if SOC_EMAC_SUPPORTED || (CONFIG_ETH_USE_SPI_ETHERNET && (CONFIG_ETH_SPI_ETHERNET_KSZ8851SNL || CONFIG_ETH_SPI_ETHERNET_DM9051 || CONFIG_ETH_SPI_ETHERNET_W5500 ))
391391#define MICROPY_PY_NETWORK_LAN (1)
392392#else
393393#define MICROPY_PY_NETWORK_LAN (0)
You can’t perform that action at this time.
0 commit comments