1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

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`.
This commit is contained in:
Gunar Schorcht 2022-08-02 08:05:36 +02:00
parent df8d1f30c8
commit 1c28fa8928

View File

@ -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