only enforce frame size for nuttx

This commit is contained in:
Daniel Agar
2015-10-06 23:37:33 -04:00
parent a3d79c6e15
commit 4151522902
15 changed files with 22 additions and 31 deletions
+2 -4
View File
@@ -31,10 +31,8 @@
#
############################################################################
set(MODULE_CFLAGS -Os)
if(NOT ${OS} STREQUAL "qurt")
list(APPEND MODULE_CFLAGS
-Wframe-larger-than=2600)
if(${OS} STREQUAL "nuttx")
list(APPEND MODULE_CFLAGS -Wframe-larger-than=2300)
endif()
px4_add_module(
MODULE modules__commander