1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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`.
This commit is contained in:
Gunar Schorcht 2022-08-02 10:07:43 +02:00
parent 34633a5ca5
commit 71c7e9e9f5

View File

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