From fb07be93baa0a98ad29c4ee15eeb344e1b3727e4 Mon Sep 17 00:00:00 2001 From: Ondrej Kosta Date: Wed, 5 Aug 2026 12:00:50 +0200 Subject: [PATCH] ci(esp_eth): use fixed version of eth_test_app --- .../test_apps/main/esp_eth_test_emac_init.cpp | 13 ------------- components/esp_eth/test_apps/main/idf_component.yml | 4 +--- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/components/esp_eth/test_apps/main/esp_eth_test_emac_init.cpp b/components/esp_eth/test_apps/main/esp_eth_test_emac_init.cpp index 79d429873e6..cca6992fbb7 100644 --- a/components/esp_eth/test_apps/main/esp_eth_test_emac_init.cpp +++ b/components/esp_eth/test_apps/main/esp_eth_test_emac_init.cpp @@ -44,23 +44,10 @@ static void cpp_eth_init_internal_emac(void) #endif // CONFIG_ETH_USE_ESP32_EMAC #if CONFIG_ETH_USE_SPI_ETHERNET -#include "ethernet_init.h" - static void cpp_eth_spi_custom_driver_config(void) __attribute__((unused)); static void cpp_eth_spi_custom_driver_config(void) { volatile eth_spi_custom_driver_config_t cfg = ETH_DEFAULT_SPI; (void)cfg; } - -static void cpp_eth_init_spi(void) __attribute__((unused)); -static void cpp_eth_init_spi(void) -{ - esp_eth_handle_t *handles = nullptr; - uint8_t cnt = 0; - (void)ethernet_init_all(&handles, &cnt); - if (handles != nullptr && cnt > 0) { - (void)ethernet_deinit_all(handles); - } -} #endif // CONFIG_ETH_USE_SPI_ETHERNET diff --git a/components/esp_eth/test_apps/main/idf_component.yml b/components/esp_eth/test_apps/main/idf_component.yml index 4efc3f9b2bf..a342151e309 100644 --- a/components/esp_eth/test_apps/main/idf_component.yml +++ b/components/esp_eth/test_apps/main/idf_component.yml @@ -1,6 +1,4 @@ ## IDF Component Manager Manifest File dependencies: - espressif/ethernet_init: - version: "^1.3.0" espressif/eth_test_app: - version: "*" + version: "0.4.0"