feat(esp_eth): Ethernet test refactor

ETH tests use setUp-tearDown to init/deinit resources
This commit is contained in:
Ondrej Kosta
2026-02-25 08:42:49 +01:00
parent ff2b43f31b
commit d3d5b239fb
30 changed files with 1197 additions and 1173 deletions
@@ -8,5 +8,10 @@ CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER=y
CONFIG_ETH_USE_ESP32_EMAC=y
CONFIG_ESP_TASK_WDT_EN=n
CONFIG_TARGET_USE_INTERNAL_ETHERNET=y
CONFIG_TARGET_ETH_PHY_DEVICE_GENERIC=y
# interface configuration
CONFIG_ETHERNET_INTERNAL_SUPPORT=y
CONFIG_ETHERNET_PHY_GENERIC=y
CONFIG_ETHERNET_DEFAULT_EVENT_HANDLER=n
# specific test configuration
CONFIG_ETH_TEST_FILL_RX_BUFFER_ITERATIONS=10