mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-29 04:34:07 +08:00
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:
parent
d411e1c40d
commit
0294d4a794
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user