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
+4 -1
View File
@@ -30,13 +30,16 @@
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
if (${OS} STREQUAL "nuttx")
list(APPEND MODULE_CFLAGS -Wframe-larger-than=1500)
endif()
px4_add_module(
MODULE modules__sdlog2
MAIN sdlog2
PRIORITY "SCHED_PRIORITY_MAX-30"
STACK 1200
COMPILE_FLAGS
-Wframe-larger-than=1500
${MODULE_CFLAGS}
-Os
SRCS
sdlog2.c