From ac29bd7ca4037b707c3abe24ef1dd923332c2101 Mon Sep 17 00:00:00 2001 From: Ondrej Kosta Date: Mon, 31 Mar 2025 10:05:41 +0200 Subject: [PATCH] ci(esp_eth): enabled Ethernet target tests --- components/esp_eth/test_apps/.build-test-rules.yml | 4 ++-- components/esp_eth/test_apps/README.md | 4 ++-- .../esp_eth/test_apps/sdkconfig.ci.default_ip101_esp32p4 | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/esp_eth/test_apps/.build-test-rules.yml b/components/esp_eth/test_apps/.build-test-rules.yml index 5499c2b035..dc4d00c17b 100644 --- a/components/esp_eth/test_apps/.build-test-rules.yml +++ b/components/esp_eth/test_apps/.build-test-rules.yml @@ -2,7 +2,7 @@ components/esp_eth/test_apps: enable: - - if: IDF_TARGET == "esp32" - reason: only test on esp32 + - if: IDF_TARGET in ["esp32", "esp32p4"] + reason: ESP32 and ESP32P4 have internal EMAC. SPI Ethernet runners are based on ESP32. depends_components: - esp_eth diff --git a/components/esp_eth/test_apps/README.md b/components/esp_eth/test_apps/README.md index 0e2cf8cb13..9747c000db 100644 --- a/components/esp_eth/test_apps/README.md +++ b/components/esp_eth/test_apps/README.md @@ -1,6 +1,6 @@ # EMAC Test -| Supported Targets | ESP32 | -| ----------------- | ----- | +| Supported Targets | ESP32 | ESP32-P4 | +| ----------------- | ----- | -------- | This test app is used to test Ethernet MAC behavior with different chips. diff --git a/components/esp_eth/test_apps/sdkconfig.ci.default_ip101_esp32p4 b/components/esp_eth/test_apps/sdkconfig.ci.default_ip101_esp32p4 index 5612e70820..a73773ba25 100644 --- a/components/esp_eth/test_apps/sdkconfig.ci.default_ip101_esp32p4 +++ b/components/esp_eth/test_apps/sdkconfig.ci.default_ip101_esp32p4 @@ -8,4 +8,4 @@ CONFIG_ESP_TASK_WDT_EN=n CONFIG_TARGET_USE_INTERNAL_ETHERNET=y CONFIG_TARGET_ETH_PHY_DEVICE_IP101=y -CONFIG_TARGET_USE_DEFAULT_EMAC_CONFIG=n +CONFIG_TARGET_USE_DEFAULT_EMAC_CONFIG=y