mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-20 12:59:05 +08:00
uORB tests increase stack sizes
This commit is contained in:
parent
1a0472dfab
commit
ea73284a1f
@ -31,22 +31,12 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
# this includes the generated topics directory
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
set(SRCS uORB_tests_main.cpp)
|
||||
|
||||
if(NOT ${OS} STREQUAL "qurt")
|
||||
list(APPEND SRCS uORBTest_UnitTest.cpp)
|
||||
endif()
|
||||
|
||||
px4_add_module(
|
||||
MODULE modules__uORB__uORB_tests
|
||||
MAIN uorb_tests
|
||||
STACK_MAIN 2048
|
||||
PRIORITY "SCHED_PRIORITY_MAX"
|
||||
COMPILE_FLAGS
|
||||
SRCS ${SRCS}
|
||||
DEPENDS
|
||||
SRCS
|
||||
uORB_tests_main.cpp
|
||||
uORBTest_UnitTest.cpp
|
||||
)
|
||||
|
||||
|
||||
@ -506,7 +506,7 @@ int uORBTest::UnitTest::test_multi2()
|
||||
int pubsub_task = px4_task_spawn_cmd("uorb_test_multi",
|
||||
SCHED_DEFAULT,
|
||||
SCHED_PRIORITY_MAX - 5,
|
||||
1500,
|
||||
2000,
|
||||
(px4_main_t)&uORBTest::UnitTest::pub_test_multi2_entry,
|
||||
args);
|
||||
|
||||
|
||||
@ -147,7 +147,7 @@ int uORBTest::UnitTest::latency_test(orb_id_t T, bool print)
|
||||
int pubsub_task = px4_task_spawn_cmd("uorb_latency",
|
||||
SCHED_DEFAULT,
|
||||
SCHED_PRIORITY_MAX,
|
||||
1700,
|
||||
2000,
|
||||
(px4_main_t)&uORBTest::UnitTest::pubsubtest_threadEntry,
|
||||
args);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user