aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartyn Ranyard <ranyardm@gmail.com>2012-11-02 19:35:20 +0000
committerCristian Maglie <c.maglie@arduino.cc>2015-07-14 12:37:36 +0200
commit10da8ab42f635b96bb848574e446bf32a9e4165b (patch)
treebb884cdb7a480d99a35f64d4a08eff53b7ff38dd
parent8416a2c0ca83af0be3db3d9c9dfe14f33a4830db (diff)
-O2 in new avr-gcc makes too big a bootloader to fit on 328(and 328p)
-rwxr-xr-x[-rw-r--r--]bootloaders/atmega/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloaders/atmega/Makefile b/bootloaders/atmega/Makefile
index 36a3b6b..52e486b 100644..100755
--- a/bootloaders/atmega/Makefile
+++ b/bootloaders/atmega/Makefile
@@ -48,7 +48,7 @@ STK500-2 = $(STK500) -d$(MCU_TARGET) -ms -q -lCF -LCF -cUSB -I200kHz -s -wt
OBJ = $(PROGRAM).o
-OPTIMIZE = -O2
+OPTIMIZE = -Os
DEFS =
LIBS =