diff --git a/components/esp_eth/component.mk b/components/esp_eth/component.mk index 4650d5f5c4..3426f54cde 100644 --- a/components/esp_eth/component.mk +++ b/components/esp_eth/component.mk @@ -5,7 +5,7 @@ COMPONENT_ADD_INCLUDEDIRS := include COMPONENT_SRCDIRS := src ifndef CONFIG_ETH_USE_ESP32_EMAC - COMPONENT_OBJEXCLUDE += src/esp_eth_mac_esp32.o + COMPONENT_OBJEXCLUDE += src/esp_eth_mac_esp.o endif ifndef CONFIG_ETH_SPI_ETHERNET_DM9051 diff --git a/examples/ethernet/basic/main/Kconfig.projbuild b/examples/ethernet/basic/main/Kconfig.projbuild index 2d01147086..be155389b2 100644 --- a/examples/ethernet/basic/main/Kconfig.projbuild +++ b/examples/ethernet/basic/main/Kconfig.projbuild @@ -145,7 +145,7 @@ menu "Example Configuration" range 0 34 if IDF_TARGET_ESP32 range 0 46 if IDF_TARGET_ESP32S2 range 0 19 if IDF_TARGET_ESP32C3 - default 5 if IDF_TARGET_ESP32 + default 16 if IDF_TARGET_ESP32 default 21 if IDF_TARGET_ESP32S2 default 10 if IDF_TARGET_ESP32C3 help @@ -169,8 +169,7 @@ menu "Example Configuration" config EXAMPLE_ETH_PHY_RST_GPIO int "PHY Reset GPIO number" - default 16 if IDF_TARGET_ESP32 - default 5 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32C3 + default 5 help Set the GPIO number used to reset PHY chip. Set to -1 to disable PHY chip hardware reset.