From 5718c817501f187eed72793ae17025f7c8f477a5 Mon Sep 17 00:00:00 2001 From: wangjianyu3 Date: Fri, 20 Mar 2026 12:33:14 +0800 Subject: [PATCH] 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 --- 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 ++-- .../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 a5f812feff3..4164e135511 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 6051bc7e5a6..dfac808cee9 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 @@ -406,7 +406,7 @@ int esp32s3_bringup(void) } #endif -#ifdef CONFIG_ESPRESSIF_WLAN +#ifdef CONFIG_ESPRESSIF_WIFI ret = board_wlan_init(); if (ret < 0) {