This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch releases/12.13
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/releases/12.13 by this push:
new 089b6e20d30 boards/xtensa/esp32s3: fix WiFi init by using
CONFIG_ESPRESSIF_WIFI
089b6e20d30 is described below
commit 089b6e20d304f7cb272a147382242b48eae3a659
Author: wangjianyu3 <[email protected]>
AuthorDate: Fri Mar 20 12:33:14 2026 +0800
boards/xtensa/esp32s3: fix WiFi init by using CONFIG_ESPRESSIF_WIFI
The WiFi driver refactor (662c1e0bbb7) renamed the Kconfig symbol
from CONFIG_ESPRESSIF_WLAN to CONFIG_ESPRESSIF_WIFI, but several
ESP32-S3 board bringup files were not updated. This caused
board_wlan_init() to be compiled out, so the wlan0 interface
never appeared.
Update the preprocessor guards in all affected boards:
- esp32s3-box
- esp32s3-eye
- esp32s3-korvo-2
- esp32s3-lcd-ev
- lckfb-szpi-esp32s3
Signed-off-by: wangjianyu3 <[email protected]>
---
boards/xtensa/esp32s3/esp32s3-box/src/esp32s3_bringup.c | 4 ++--
boards/xtensa/esp32s3/esp32s3-eye/src/esp32s3_bringup.c | 4 ++--
boards/xtensa/esp32s3/esp32s3-korvo-2/src/esp32s3_bringup.c | 4 ++--
boards/xtensa/esp32s3/esp32s3-lcd-ev/src/esp32s3_bringup.c | 4 ++--
boards/xtensa/esp32s3/lckfb-szpi-esp32s3/src/esp32s3_bringup.c | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/boards/xtensa/esp32s3/esp32s3-box/src/esp32s3_bringup.c
b/boards/xtensa/esp32s3/esp32s3-box/src/esp32s3_bringup.c
index 812ed1a5e3f..3a69d4614aa 100644
--- a/boards/xtensa/esp32s3/esp32s3-box/src/esp32s3_bringup.c
+++ b/boards/xtensa/esp32s3/esp32s3-box/src/esp32s3_bringup.c
@@ -42,7 +42,7 @@
# include "esp32s3_board_tim.h"
#endif
-#ifdef CONFIG_ESPRESSIF_WLAN
+#ifdef CONFIG_ESPRESSIF_WIFI
# include "esp32s3_board_wlan.h"
#endif
@@ -211,7 +211,7 @@ int esp32s3_bringup(void)
}
#endif
-#ifdef CONFIG_ESPRESSIF_WLAN
+#ifdef CONFIG_ESPRESSIF_WIFI
ret = board_wlan_init();
if (ret < 0)
{
diff --git a/boards/xtensa/esp32s3/esp32s3-eye/src/esp32s3_bringup.c
b/boards/xtensa/esp32s3/esp32s3-eye/src/esp32s3_bringup.c
index 8c314a47ad0..40119eac62e 100644
--- a/boards/xtensa/esp32s3/esp32s3-eye/src/esp32s3_bringup.c
+++ b/boards/xtensa/esp32s3/esp32s3-eye/src/esp32s3_bringup.c
@@ -42,7 +42,7 @@
# include "esp32s3_board_tim.h"
#endif
-#ifdef CONFIG_ESPRESSIF_WLAN
+#ifdef CONFIG_ESPRESSIF_WIFI
# include "esp32s3_board_wlan.h"
#endif
@@ -202,7 +202,7 @@ int esp32s3_bringup(void)
}
#endif
-#ifdef CONFIG_ESPRESSIF_WLAN
+#ifdef CONFIG_ESPRESSIF_WIFI
ret = board_wlan_init();
if (ret < 0)
{
diff --git a/boards/xtensa/esp32s3/esp32s3-korvo-2/src/esp32s3_bringup.c
b/boards/xtensa/esp32s3/esp32s3-korvo-2/src/esp32s3_bringup.c
index 775d9ba4496..b080752c9aa 100644
--- a/boards/xtensa/esp32s3/esp32s3-korvo-2/src/esp32s3_bringup.c
+++ b/boards/xtensa/esp32s3/esp32s3-korvo-2/src/esp32s3_bringup.c
@@ -45,7 +45,7 @@
# include "esp32s3_board_tim.h"
#endif
-#ifdef CONFIG_ESPRESSIF_WLAN
+#ifdef CONFIG_ESPRESSIF_WIFI
# include "esp32s3_board_wlan.h"
#endif
@@ -412,7 +412,7 @@ int esp32s3_bringup(void)
}
#endif
-#ifdef CONFIG_ESPRESSIF_WLAN
+#ifdef CONFIG_ESPRESSIF_WIFI
ret = board_wlan_init();
if (ret < 0)
{
diff --git a/boards/xtensa/esp32s3/esp32s3-lcd-ev/src/esp32s3_bringup.c
b/boards/xtensa/esp32s3/esp32s3-lcd-ev/src/esp32s3_bringup.c
index b0fe87d41b4..3de427b45c9 100644
--- a/boards/xtensa/esp32s3/esp32s3-lcd-ev/src/esp32s3_bringup.c
+++ b/boards/xtensa/esp32s3/esp32s3-lcd-ev/src/esp32s3_bringup.c
@@ -45,7 +45,7 @@
# include "esp32s3_board_tim.h"
#endif
-#ifdef CONFIG_ESPRESSIF_WLAN
+#ifdef CONFIG_ESPRESSIF_WIFI
# include "esp32s3_board_wlan.h"
#endif
@@ -304,7 +304,7 @@ int esp32s3_bringup(void)
}
#endif
-#ifdef CONFIG_ESPRESSIF_WLAN
+#ifdef CONFIG_ESPRESSIF_WIFI
ret = board_wlan_init();
if (ret < 0)
{
diff --git a/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/src/esp32s3_bringup.c
b/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/src/esp32s3_bringup.c
index 9d7c84e35b0..4028d883b68 100644
--- a/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/src/esp32s3_bringup.c
+++ b/boards/xtensa/esp32s3/lckfb-szpi-esp32s3/src/esp32s3_bringup.c
@@ -45,7 +45,7 @@
# include "esp32s3_board_tim.h"
#endif
-#ifdef CONFIG_ESPRESSIF_WLAN
+#ifdef CONFIG_ESPRESSIF_WIFI
# include "esp32s3_board_wlan.h"
#endif
@@ -402,7 +402,7 @@ int esp32s3_bringup(void)
}
#endif
-#ifdef CONFIG_ESPRESSIF_WLAN
+#ifdef CONFIG_ESPRESSIF_WIFI
ret = board_wlan_init();
if (ret < 0)
{