aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2012-10-15 19:10:28 -0700
committerpx4dev <px4@purgatory.org>2012-10-15 19:10:28 -0700
commitf9a8818d1e040bdf1a4bb62041a469ceee67dbf4 (patch)
tree172f67ba1394ad4ca636e364ed9ee94fd30ad451
parentc1958bdaa916560ea45cb6756fe6da25fe79f091 (diff)
downloadpx4-firmware-f9a8818d1e040bdf1a4bb62041a469ceee67dbf4.tar.gz
px4-firmware-f9a8818d1e040bdf1a4bb62041a469ceee67dbf4.tar.bz2
px4-firmware-f9a8818d1e040bdf1a4bb62041a469ceee67dbf4.zip
Switch from -Os to -O3. This generates *much* faster code, although at a ~50% size penalty. We can afford the space.
-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 7ba4e694a..00a489eab 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 = -Os
+MAXOPTIMIZATION = -O3
ARCHCPUFLAGS = -mcpu=cortex-m4 \
-mthumb \
-march=armv7e-m \