1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/esp32/esp-eth/Kconfig
Gunar Schorcht 71c7e9e9f5 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`.
2022-08-03 09:00:02 +02:00

25 lines
666 B
Plaintext

# Copyright (c) 2022 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
config MODULE_ESP_ETH
bool "ESP32 Ethernet device"
depends on TEST_KCONFIG
depends on CPU_FAM_ESP32
depends on HAS_ESP_ETH
select MODULE_ESP_IDF_ETH
select MODULE_ESP_IDF_ETH_PHY
select MODULE_NETDEV_ETH
select MODULE_NETOPT
select MODULE_ZTIMER
select MODULE_ZTIMER_MSEC
config HAS_ESP_ETH
bool
select MODULE_ESP_ETH if MODULE_NETDEV_DEFAULT
help
Indicates that a ESP32 ethernet device is present.