Modified cmake to use STACK_MAX and STACK_MAIN

This commit is contained in:
James Goppert
2016-04-14 13:36:36 -04:00
parent 5843acecc4
commit 967e4dd127
80 changed files with 158 additions and 196 deletions
+2 -4
View File
@@ -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