zephyr/drivers/ethernet/Kconfig.esp32
Bartosz Bilas 08a4829682 drivers: ethernet: esp32: fix Kconfig
Add the missing dependency of the node status value
and enable the driver by default when they are met.

Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
2023-11-27 12:22:02 +00:00

26 lines
564 B
Plaintext

# ESP32 Ethernet driver configuration options
# Copyright (c) 2022 Grant Ramsay <grant.ramsay@hotmail.com>
# SPDX-License-Identifier: Apache-2.0
menuconfig ETH_ESP32
bool "ESP32 Ethernet driver"
default y
depends on SOC_SERIES_ESP32
depends on DT_HAS_ESPRESSIF_ESP32_ETH_ENABLED
select MDIO
help
Enable ESP32 Ethernet driver.
if ETH_ESP32
config ETH_ESP32_RX_THREAD_STACK_SIZE
int "ESP32 Ethernet receive thread stack size"
default 768
config ETH_ESP32_RX_THREAD_PRIORITY
int "ESP32 Ethernet receive thread priority"
default 2
endif # ETH_ESP32