From 6c4aadedf42de266e592f84cda27d8af1bbe56b5 Mon Sep 17 00:00:00 2001 From: px4dev Date: Sat, 11 Aug 2012 11:45:59 -0700 Subject: [PATCH] Switch back from max performance to size as the default optimization level. Individual modules can still override this if they need to. --- nuttx/configs/px4fmu/common/Make.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuttx/configs/px4fmu/common/Make.defs b/nuttx/configs/px4fmu/common/Make.defs index 00a489eabf..7ba4e694a1 100644 --- a/nuttx/configs/px4fmu/common/Make.defs +++ b/nuttx/configs/px4fmu/common/Make.defs @@ -55,7 +55,7 @@ NM = $(CROSSDEV)nm OBJCOPY = $(CROSSDEV)objcopy OBJDUMP = $(CROSSDEV)objdump -MAXOPTIMIZATION = -O3 +MAXOPTIMIZATION = -Os ARCHCPUFLAGS = -mcpu=cortex-m4 \ -mthumb \ -march=armv7e-m \