mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
littlefs: needs more stack when used
This commit is contained in:
parent
c60b1d1a5f
commit
ecfdbd2e60
@ -89,7 +89,7 @@ static constexpr wq_config_t ttyS9{"wq:ttyS9", 1728, -30};
|
||||
static constexpr wq_config_t ttyACM0{"wq:ttyACM0", 1728, -31};
|
||||
static constexpr wq_config_t ttyUnknown{"wq:ttyUnknown", 1728, -32};
|
||||
|
||||
static constexpr wq_config_t lp_default{"wq:lp_default", 2000, -50};
|
||||
static constexpr wq_config_t lp_default{"wq:lp_default", 2350, -50};
|
||||
|
||||
static constexpr wq_config_t test1{"wq:test1", 2000, 0};
|
||||
static constexpr wq_config_t test2{"wq:test2", 2000, 0};
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -35,6 +35,7 @@ px4_add_module(
|
||||
MAIN hardfault_log
|
||||
COMPILE_FLAGS
|
||||
-Wno-cast-align # TODO: fix and enable
|
||||
STACK_MAIN 4096
|
||||
SRCS
|
||||
hardfault_log.c
|
||||
DEPENDS
|
||||
|
||||
@ -35,6 +35,7 @@ px4_add_module(
|
||||
MAIN param
|
||||
COMPILE_FLAGS
|
||||
-Wno-array-bounds
|
||||
STACK_MAIN 4096
|
||||
SRCS
|
||||
param.cpp
|
||||
DEPENDS
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user