forked from Archive/PX4-Autopilot
set stack size for ecl
This commit is contained in:
parent
dd171670ca
commit
d009118437
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue