aboutsummaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2012-08-11 11:45:59 -0700
committerpx4dev <px4@purgatory.org>2012-08-11 11:45:59 -0700
commit6c4aadedf42de266e592f84cda27d8af1bbe56b5 (patch)
treef0918f96b275f8f77f24fa7ba8f6ac72b291973b /nuttx
parenta2116d2058df2e44fe2e495063d198111fa1e365 (diff)
downloadpx4-firmware-6c4aadedf42de266e592f84cda27d8af1bbe56b5.tar.gz
px4-firmware-6c4aadedf42de266e592f84cda27d8af1bbe56b5.tar.bz2
px4-firmware-6c4aadedf42de266e592f84cda27d8af1bbe56b5.zip
Switch back from max performance to size as the default optimization level. Individual modules can still override this if they need to.
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/configs/px4fmu/common/Make.defs2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/px4fmu/common/Make.defs b/nuttx/configs/px4fmu/common/Make.defs
index 00a489eab..7ba4e694a 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 \