set stack size for ecl

This commit is contained in:
Roman 2015-12-19 09:16:17 +01:00
parent dd171670ca
commit d009118437
1 changed files with 7 additions and 2 deletions

View File

@ -30,10 +30,15 @@
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
set(MODULE_CFLAGS )
if(${OS} STREQUAL "nuttx")
list(APPEND MODULE_CFLAGS -Wframe-larger-than=6000)
endif()
px4_add_module(
MODULE lib__ecl
COMPILE_FLAGS
-Os
STACK 6000
COMPILE_FLAGS ${MODULE_CFLAGS} -Os
SRCS
attitude_fw/ecl_controller.cpp
attitude_fw/ecl_pitch_controller.cpp