mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 00:33:35 +08:00
adjust stack sizes
This commit is contained in:
committed by
Lorenz Meier
parent
206d5a7afc
commit
1ecdb0f6fb
@@ -33,7 +33,7 @@
|
||||
px4_add_module(
|
||||
MODULE drivers__mpu6000
|
||||
MAIN mpu6000
|
||||
STACK_MAIN 1200
|
||||
STACK_MAIN 1300
|
||||
COMPILE_FLAGS
|
||||
-Weffc++
|
||||
-Os
|
||||
|
||||
@@ -50,6 +50,7 @@ endif()
|
||||
px4_add_module(
|
||||
MODULE drivers__ms5611
|
||||
MAIN ms5611
|
||||
STACK_MAIN 1200
|
||||
COMPILE_FLAGS
|
||||
-Os
|
||||
SRCS ${srcs}
|
||||
|
||||
@@ -34,6 +34,7 @@ px4_add_module(
|
||||
MODULE drivers__pwm_out_sim
|
||||
MAIN pwm_out_sim
|
||||
STACK_MAIN 1200
|
||||
STACK_MAX 1200
|
||||
COMPILE_FLAGS
|
||||
-Os
|
||||
SRCS
|
||||
|
||||
@@ -252,7 +252,7 @@ PWMSim::init()
|
||||
_task = px4_task_spawn_cmd("pwm_out_sim",
|
||||
SCHED_DEFAULT,
|
||||
SCHED_PRIORITY_DEFAULT,
|
||||
1000,
|
||||
1200,
|
||||
(px4_main_t)&PWMSim::task_main_trampoline,
|
||||
nullptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user