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

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

commit b8964f5c469ec12b8889a0ac5b13922148a0646e
Author: Laczen JMS <laczen...@gmail.com>
AuthorDate: Fri Mar 28 13:57:49 2025 +0100

    arch/xtensa/src/common/espressif: Add wlan config option
    
    Add an option to configure wlan support
    
    Signed-off-by: Laczen JMS <laczen...@gmail.com>
---
 arch/xtensa/src/common/espressif/Kconfig   | 6 ++++++
 arch/xtensa/src/common/espressif/Make.defs | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/xtensa/src/common/espressif/Kconfig 
b/arch/xtensa/src/common/espressif/Kconfig
index 141078a70b..5cd067c237 100644
--- a/arch/xtensa/src/common/espressif/Kconfig
+++ b/arch/xtensa/src/common/espressif/Kconfig
@@ -575,6 +575,12 @@ menuconfig ESPRESSIF_WIFI_BT_COEXIST
 menu "Wi-Fi Configuration"
        depends on ESPRESSIF_WIFI
 
+config ESPRESSIF_WLAN
+        bool "WLAN"
+       default y
+       ---help---
+               Enable WLAN support
+
 menu "ESP WPA-Supplicant"
 
 config WPA_WAPI_PSK
diff --git a/arch/xtensa/src/common/espressif/Make.defs 
b/arch/xtensa/src/common/espressif/Make.defs
index 066a727780..635bbead1e 100644
--- a/arch/xtensa/src/common/espressif/Make.defs
+++ b/arch/xtensa/src/common/espressif/Make.defs
@@ -74,8 +74,8 @@ endif
 
 ifeq ($(CONFIG_ESPRESSIF_WIRELESS),y)
 CHIP_CSRCS += esp_wireless.c
-ifeq ($(CONFIG_ESPRESSIF_WIFI),y)
 CHIP_CSRCS += esp_wifi_utils.c
+ifeq ($(CONFIG_ESPRESSIF_WLAN),y)
 CHIP_CSRCS += esp_wlan.c
 endif
 endif

Reply via email to