From a86a9dc09ecd53796097aaa804dd53a7f9759379 Mon Sep 17 00:00:00 2001 From: Tiago Medicci Serrano Date: Thu, 27 Apr 2023 10:58:38 -0300 Subject: [PATCH] esp32s3/wifi: fix Wi-Fi's NVS-like storage long filename error While using NVS-like storage of the Wi-Fi driver, an error was thrown while trying to access a file whose name was longer than the mounted SPIFFS `CONFIG_SPIFFS_NAME_MAX`. --- .../xtensa/esp32s3/esp32s3-devkit/configs/sta_softap/defconfig | 1 + boards/xtensa/esp32s3/esp32s3-devkit/configs/wifi/defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/sta_softap/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/sta_softap/defconfig index 1abf757639..8e1215fcab 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/sta_softap/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/sta_softap/defconfig @@ -71,6 +71,7 @@ CONFIG_RR_INTERVAL=200 CONFIG_SCHED_LPWORK=y CONFIG_SCHED_WAITPID=y CONFIG_SIG_DEFAULT=y +CONFIG_SPIFFS_NAME_MAX=128 CONFIG_START_DAY=6 CONFIG_START_MONTH=12 CONFIG_START_YEAR=2011 diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/wifi/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/wifi/defconfig index 22d35dee42..27062a9185 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/wifi/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/wifi/defconfig @@ -68,6 +68,7 @@ CONFIG_RR_INTERVAL=200 CONFIG_SCHED_LPWORK=y CONFIG_SCHED_WAITPID=y CONFIG_SIG_DEFAULT=y +CONFIG_SPIFFS_NAME_MAX=128 CONFIG_START_DAY=6 CONFIG_START_MONTH=12 CONFIG_START_YEAR=2011