From 4fefe5c6c66844838f3d0923c3403d5ddabeb4fe Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Wed, 28 Sep 2016 08:23:18 +0200 Subject: [PATCH] cmake: stack size args cleanup --- CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 985ca6437a..b16bfcf646 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,15 +30,12 @@ # 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 STACK_MAIN 6000 - COMPILE_FLAGS ${MODULE_CFLAGS} + STACK_MAX 6000 + COMPILE_FLAGS SRCS attitude_fw/ecl_controller.cpp attitude_fw/ecl_pitch_controller.cpp