From f9a8818d1e040bdf1a4bb62041a469ceee67dbf4 Mon Sep 17 00:00:00 2001 From: px4dev Date: Mon, 15 Oct 2012 19:10:28 -0700 Subject: Switch from -Os to -O3. This generates *much* faster code, although at a ~50% size penalty. We can afford the space. --- 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 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 \ -- cgit v1.2.3