diff options
| author | Scott Shawcroft <scott@chickadee.tech> | 2016-08-31 00:11:56 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@chickadee.tech> | 2016-08-31 00:11:56 -0700 |
| commit | eff137a5f5a897fa6ce2734db29c6cce1d85e1f1 (patch) | |
| tree | ccb6a22808cde7904dfd1e11a7c2a34dd523ae88 /atmel-samd/Makefile | |
| parent | ccb309bd5c0b283ea847b18621038bf5ef817f38 (diff) | |
atmel/samd: Support CTRL-C on USB. This won't escape native code but it will cause Python code to stop.
Diffstat (limited to 'atmel-samd/Makefile')
| -rw-r--r-- | atmel-samd/Makefile | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/atmel-samd/Makefile b/atmel-samd/Makefile index 9e02d7f73..ebb196f5a 100644 --- a/atmel-samd/Makefile +++ b/atmel-samd/Makefile @@ -81,7 +81,43 @@ endif ifeq ($(DEBUG), 1) CFLAGS += -O0 -ggdb else -CFLAGS += -Os -DNDEBUG +# was -Os +CFLAGS += -O1 -ggdb -DNDEBUG +# CFLAGS += -O0 \ +# -ftree-ter \ +# -ftree-sra \ +# -ftree-slsr \ +# -ftree-sink \ +# -ftree-pta \ +# -ftree-fre \ +# -ftree-dse \ +# -ftree-dominator-opts \ +# -ftree-dce \ +# -ftree-copyrename \ +# -ftree-copy-prop \ +# -ftree-ch \ +# -ftree-ccp \ +# -ftree-bit-ccp \ +# -fsplit-wide-types \ +# -fshrink-wrap \ +# -fsection-anchors \ +# -fsched-pressure \ +# -fomit-frame-pointer \ +# -fmove-loop-invariants \ +# -fmerge-constants \ +# -fipa-reference \ +# -fipa-pure-const \ +# -fipa-profile \ +# -finline-functions-called-once \ +# -fif-conversion \ +# -fif-conversion2 \ +# -fguess-branch-probability \ +# -fforward-propagate \ +# -fdefer-pop \ +# -fcprop-registers \ +# -fcompare-elim \ +# -fcombine-stack-adjustments \ +# -fbranch-count-reg endif LIBS = |
