From 71c7e9e9f5ba4e849f9d5caf077b1d586ce09ec0 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Tue, 2 Aug 2022 10:07:43 +0200 Subject: [PATCH] cpu/esp32: replace HAS_PERIPH_ETH by HAS_ESP_ETH in Kconfig In fact the ESP32 has no peripheral driver for the ETH interface. Instead, the `esp_eth` netdev driver directly uses the ESP-IDF Ethernet API. This caused compilation problems with Kconfig. Therefore the required feature `periph_eth` is replaced by the feature `esp_eth`. --- cpu/esp32/esp-eth/Kconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cpu/esp32/esp-eth/Kconfig b/cpu/esp32/esp-eth/Kconfig index a87c3d2074..0f9b151b86 100644 --- a/cpu/esp32/esp-eth/Kconfig +++ b/cpu/esp32/esp-eth/Kconfig @@ -9,8 +9,7 @@ config MODULE_ESP_ETH bool "ESP32 Ethernet device" depends on TEST_KCONFIG depends on CPU_FAM_ESP32 - depends on HAS_PERIPH_ETH - select MODULE_ESP_FREERTOS + depends on HAS_ESP_ETH select MODULE_ESP_IDF_ETH select MODULE_ESP_IDF_ETH_PHY select MODULE_NETDEV_ETH @@ -18,7 +17,7 @@ config MODULE_ESP_ETH select MODULE_ZTIMER select MODULE_ZTIMER_MSEC -config HAVE_ESP_ETH +config HAS_ESP_ETH bool select MODULE_ESP_ETH if MODULE_NETDEV_DEFAULT help