littlefs: needs more stack when used

This commit is contained in:
Niklas Hauser
2024-07-31 14:36:49 +02:00
committed by Daniel Agar
parent c60b1d1a5f
commit ecfdbd2e60
5 changed files with 12 additions and 2 deletions
+8
View File
@@ -10,3 +10,11 @@ menuconfig USER_LOGGER
depends on BOARD_PROTECTED && MODULES_LOGGER
---help---
Put logger in userspace memory
menuconfig LOGGER_STACK_SIZE
int "stack size of logger task"
default 3700
depends on MODULES_LOGGER
---help---
Stack size of the logger task. Some configurations require more stack
than the default.
+1 -1
View File
@@ -176,7 +176,7 @@ int Logger::task_spawn(int argc, char *argv[])
_task_id = px4_task_spawn_cmd("logger",
SCHED_DEFAULT,
SCHED_PRIORITY_LOG_CAPTURE,
PX4_STACK_ADJUSTED(3700),
PX4_STACK_ADJUSTED(CONFIG_LOGGER_STACK_SIZE),
(px4_main_t)&run_trampoline,
(char *const *)argv);