mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-30 18:34:07 +08:00
Note on code size for LPC11C24
This commit is contained in:
parent
f4ba884b31
commit
2d1c8f1a2d
@ -49,6 +49,7 @@ DEPDIR = $(BUILDDIR)/dep
|
||||
|
||||
DEF += -DNDEBUG -DCHIP_LPC11CXX -DCORE_M0 -DTHUMB_NO_INTERWORKING -U__STRICT_ANSI__
|
||||
|
||||
# Removing -fconserve-stack reduces code size a little
|
||||
FLAGS = -mthumb -mcpu=cortex-m0 -mno-thumb-interwork -flto -Os -g3 -Wall -Wextra -Werror -Wundef -ffunction-sections \
|
||||
-fdata-sections -fno-common -fno-exceptions -fno-unwind-tables -fno-stack-protector -fomit-frame-pointer \
|
||||
-ftracer -ftree-loop-distribute-patterns -frename-registers -freorder-blocks -fconserve-stack \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user