mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 00:53:35 +08:00
Switch from -Os to -O3. This generates *much* faster code, although at a ~50% size penalty. We can afford the space.
This commit is contained in:
@@ -55,7 +55,7 @@ NM = $(CROSSDEV)nm
|
|||||||
OBJCOPY = $(CROSSDEV)objcopy
|
OBJCOPY = $(CROSSDEV)objcopy
|
||||||
OBJDUMP = $(CROSSDEV)objdump
|
OBJDUMP = $(CROSSDEV)objdump
|
||||||
|
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -O3
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m4 \
|
ARCHCPUFLAGS = -mcpu=cortex-m4 \
|
||||||
-mthumb \
|
-mthumb \
|
||||||
-march=armv7e-m \
|
-march=armv7e-m \
|
||||||
|
|||||||
Reference in New Issue
Block a user