This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 5c0cd187190 arch/arm/src/stm32: make STM32_ETHMAC depend on NET
5c0cd187190 is described below

commit 5c0cd187190bc55d1d673f74e40f952481fc73e2
Author: raiden00pl <[email protected]>
AuthorDate: Mon Jun 15 18:05:28 2026 +0200

    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 <[email protected]>
---
 arch/arm/src/common/stm32/Kconfig.periph | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/src/common/stm32/Kconfig.periph 
b/arch/arm/src/common/stm32/Kconfig.periph
index b317b4d5680..f184616d44e 100644
--- a/arch/arm/src/common/stm32/Kconfig.periph
+++ b/arch/arm/src/common/stm32/Kconfig.periph
@@ -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

Reply via email to