dataman: increase stack size for littlefs

Increase stack size when using littlefs filesystem, which requires
more stack space than traditional filesystems.
This commit is contained in:
Julian Oes 2025-12-29 17:14:43 +13:00
parent d411e1c40d
commit 0294d4a794

View File

@ -63,7 +63,11 @@ __BEGIN_DECLS
__EXPORT int dataman_main(int argc, char *argv[]);
__END_DECLS
#ifdef CONFIG_FS_LITTLEFS
static constexpr int TASK_STACK_SIZE = 2000; /* littlefs needs more stack */
#else
static constexpr int TASK_STACK_SIZE = 1420;
#endif
#ifdef CONFIG_DATAMAN_PERSISTENT_STORAGE
/* Private File based Operations */