mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-18 21:10:35 +08:00
littlefs: needs more stack when used
This commit is contained in:
committed by
Daniel Agar
parent
c60b1d1a5f
commit
ecfdbd2e60
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user