aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARM7-LPC214x-GCC/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'demos/ARM7-LPC214x-GCC/Makefile')
-rw-r--r--demos/ARM7-LPC214x-GCC/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/demos/ARM7-LPC214x-GCC/Makefile b/demos/ARM7-LPC214x-GCC/Makefile
index 0c0ad93e9..eb9cf9bc7 100644
--- a/demos/ARM7-LPC214x-GCC/Makefile
+++ b/demos/ARM7-LPC214x-GCC/Makefile
@@ -93,9 +93,13 @@ AOPT =
TOPT = -mthumb -D THUMB
# Common options here
-# NOTE: -ffixed-r7 is only needed if you enabled CH_CURRP_REGISTER_CACHE in chconf.h.
+# NOTE: -ffixed-r7 is only needed if you enabled CH_CURRP_REGISTER_CACHE in
+# chconf.h.
+# NOTE: -falign-functions=16 may improve the performance, not always, but
+# increases the code size.
OPT = -O2 -ggdb -fomit-frame-pointer -fno-strict-aliasing
#OPT += -ffixed-r7
+#OPT += -falign-functions=16
# Define warning options here
WARN = -Wall -Wstrict-prototypes