From 939b680ce260570d07ec3f8bf354ae5cfab694bd Mon Sep 17 00:00:00 2001 From: Bogdan Date: Tue, 16 Aug 2022 17:23:47 +0200 Subject: [PATCH] components and configuration update --- .project | 10 ++++++++++ components/WebGUIAppComponent | 2 +- sdkconfig | 18 ++++++++++++++++-- sdkconfig.old | 3 +-- 4 files changed, 28 insertions(+), 5 deletions(-) diff --git a/.project b/.project index 5264828..bd3253e 100644 --- a/.project +++ b/.project @@ -1253,6 +1253,11 @@ 1 C:/Users/bogd/esp-idf-v4.4.1/components/esp_eth/src/esp_eth_mac_esp.c + + esp_idf_components/esp_eth/src/esp_eth_mac_w5500.c + 1 + C:/Users/bogd/esp-idf-v4.4.1/components/esp_eth/src/esp_eth_mac_w5500.c + esp_idf_components/esp_eth/src/esp_eth_netif_glue.c 1 @@ -1288,6 +1293,11 @@ 1 C:/Users/bogd/esp-idf-v4.4.1/components/esp_eth/src/esp_eth_phy_rtl8201.c + + esp_idf_components/esp_eth/src/esp_eth_phy_w5500.c + 1 + C:/Users/bogd/esp-idf-v4.4.1/components/esp_eth/src/esp_eth_phy_w5500.c + esp_idf_components/esp_gdbstub/esp_common/gdbstub_common.c 1 diff --git a/components/WebGUIAppComponent b/components/WebGUIAppComponent index 76fd82c..d6021f9 160000 --- a/components/WebGUIAppComponent +++ b/components/WebGUIAppComponent @@ -1 +1 @@ -Subproject commit 76fd82c44aaae3cfaf745d3cb75627fed7c88637 +Subproject commit d6021f9e84c90c8657df506b263b30d29fcaa8fd diff --git a/sdkconfig b/sdkconfig index 308465f..ecbcf98 100644 --- a/sdkconfig +++ b/sdkconfig @@ -355,7 +355,7 @@ CONFIG_ETH_DMA_RX_BUFFER_NUM=10 CONFIG_ETH_DMA_TX_BUFFER_NUM=10 CONFIG_ETH_USE_SPI_ETHERNET=y # CONFIG_ETH_SPI_ETHERNET_DM9051 is not set -# CONFIG_ETH_SPI_ETHERNET_W5500 is not set +CONFIG_ETH_SPI_ETHERNET_W5500=y # CONFIG_ETH_SPI_ETHERNET_KSZ8851SNL is not set # CONFIG_ETH_USE_OPENETH is not set # end of Ethernet @@ -1270,7 +1270,21 @@ CONFIG_WEBGUIAPP_WIFI_GATEWAY_STA="192.168.1.150" # # Ethernet settings # -# CONFIG_WEBGUIAPP_ETHERNET_ENABLE is not set +CONFIG_WEBGUIAPP_ETHERNET_ENABLE=y +CONFIG_WEBGUIAPP_ETHERNET_ON=y +CONFIG_GPIO_RANGE_MIN=0 +CONFIG_GPIO_RANGE_MAX=36 +# CONFIG_USE_INTERNAL_ETHERNET is not set +CONFIG_USE_SPI_ETHERNET=y +CONFIG_SPI_ETHERNETS_NUM=1 +# CONFIG_DM9051 is not set +# CONFIG_KSZ8851SNL is not set +CONFIG_W5500=y +CONFIG_ETH_SPI_CLOCK_MHZ=12 +CONFIG_ETH_SPI_CS0_GPIO=15 +CONFIG_ETH_SPI_INT0_GPIO=4 +CONFIG_ETH_SPI_PHY_RST0_GPIO=-1 +CONFIG_ETH_SPI_PHY_ADDR0=1 # end of Ethernet settings # diff --git a/sdkconfig.old b/sdkconfig.old index 94df996..308465f 100644 --- a/sdkconfig.old +++ b/sdkconfig.old @@ -1270,8 +1270,7 @@ CONFIG_WEBGUIAPP_WIFI_GATEWAY_STA="192.168.1.150" # # Ethernet settings # -CONFIG_WEBGUIAPP_ETHERNET_ENABLE=y -CONFIG_WEBGUIAPP_ETHERNET_ON=y +# CONFIG_WEBGUIAPP_ETHERNET_ENABLE is not set # end of Ethernet settings #