arch/arm/src/stm32: make STM32_ETHMAC depend on NET

STM32_ETHMAC selects NETDEVICES, but NETDEVICES depends on NET. Enabling
ETHMAC without NET produced an invalid Kconfig

Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
raiden00pl 2026-06-15 18:05:28 +02:00 committed by Alan C. Assis
parent bdd68ed1e5
commit 5c0cd18719

View file

@ -1112,7 +1112,7 @@ config STM32_QSPI
config STM32_ETHMAC
bool "Ethernet MAC"
depends on STM32_HAVE_ETHERNET
depends on STM32_HAVE_ETHERNET && NET
select NETDEVICES
select ARCH_HAVE_PHY
select STM32_PHY_HAVE_POLLED if !STM32_COMMON_LEGACY