mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 18:23:33 +08:00
Remove size optimization for individual modules
It makes more sense to set the optimization flags on a platform basis instead of individually for each module. This allows for different optimization options for SITL, NuttX, Snapdragon, etc.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
px4_add_module(
|
||||
MODULE modules__ekf2
|
||||
MAIN ekf2
|
||||
COMPILE_FLAGS -Os
|
||||
COMPILE_FLAGS
|
||||
STACK_MAIN 2500
|
||||
STACK_MAX 4000
|
||||
SRCS
|
||||
@@ -42,4 +42,4 @@ px4_add_module(
|
||||
platforms__common
|
||||
git_ecl
|
||||
)
|
||||
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
|
||||
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
|
||||
|
||||
Reference in New Issue
Block a user