From 5ff0920399584f8c29d8082298919410003a1ac4 Mon Sep 17 00:00:00 2001 From: crispyberry Date: Fri, 13 Mar 2026 20:26:40 +0800 Subject: [PATCH] fix: increase SPIFFS_OBJ_NAME_LEN to 64 for long session filenames MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #147 — Feishu open_id produces session filenames that exceed the default 32-byte SPIFFS object name limit, causing "Cannot open session file" errors. Co-Authored-By: Claude Opus 4.6 --- sdkconfig.defaults | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdkconfig.defaults b/sdkconfig.defaults index 61781c3..0f09fe4 100644 --- a/sdkconfig.defaults +++ b/sdkconfig.defaults @@ -3,3 +3,6 @@ # Network hostname CONFIG_LWIP_LOCAL_HOSTNAME="mimiclaw" + +# SPIFFS: increase max filename length (default 32 is too short for session files) +CONFIG_SPIFFS_OBJ_NAME_LEN=64