mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 06:33:33 +08:00
Modified cmake to use STACK_MAX and STACK_MAIN
This commit is contained in:
@@ -31,14 +31,12 @@
|
||||
#
|
||||
############################################################################
|
||||
set(MIXER_CFLAGS -Os)
|
||||
if(${OS} STREQUAL "nuttx")
|
||||
list(APPEND MIXER_CFLAGS -Wframe-larger-than=2100)
|
||||
endif()
|
||||
|
||||
px4_add_module(
|
||||
MODULE systemcmds__mixer
|
||||
MAIN mixer
|
||||
STACK 4096
|
||||
STACK_MAIN 4096
|
||||
STACK_MAX 2100
|
||||
COMPILE_FLAGS ${MIXER_CFLAGS}
|
||||
SRCS
|
||||
mixer.cpp
|
||||
|
||||
Reference in New Issue
Block a user