From 1c28fa89285d410f34d496b4d000ccd8a1b4cbd3 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Tue, 2 Aug 2022 08:05:36 +0200 Subject: [PATCH] cpu/esp32: replace feature periph_eth by esp_eth 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/Makefile.dep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/esp32/Makefile.dep b/cpu/esp32/Makefile.dep index 9610647e53..df2d4aef27 100644 --- a/cpu/esp32/Makefile.dep +++ b/cpu/esp32/Makefile.dep @@ -18,13 +18,13 @@ ifneq (,$(filter cpp,$(USEMODULE))) endif ifneq (,$(filter esp_eth,$(USEMODULE))) + FEATURES_REQUIRED += esp_eth USEMODULE += esp_idf_eth USEMODULE += esp_idf_event USEMODULE += esp_idf_gpio USEMODULE += esp_idf_spi_flash USEMODULE += netdev_eth USEMODULE += netopt - FEATURES_REQUIRED += periph_eth USEMODULE += ztimer_msec endif