From 9d11c1c62329835bdc75e9930ecce0c793750eaf Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Fri, 16 May 2025 16:51:19 +0200 Subject: [PATCH] appstore: lower stack size for image thread, otherwise esp32 errors --- .../builtin/apps/com.example.appstore/assets/appstore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal_filesystem/builtin/apps/com.example.appstore/assets/appstore.py b/internal_filesystem/builtin/apps/com.example.appstore/assets/appstore.py index 23554761..ceb111c1 100644 --- a/internal_filesystem/builtin/apps/com.example.appstore/assets/appstore.py +++ b/internal_filesystem/builtin/apps/com.example.appstore/assets/appstore.py @@ -301,7 +301,7 @@ def create_apps_list(): desc_label.add_event_cb(lambda e, a=app: show_app_detail(a), lv.EVENT.CLICKED, None) print("create_apps_list app done") try: - _thread.stack_size(32*1024) # seems to need 32KB for urequests + _thread.stack_size(12*1024) _thread.start_new_thread(download_icons,()) except Exception as e: print("Could not start thread to download icons: ", e)