mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 16:33:33 +08:00
only enforce frame size for nuttx
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user