From 3831c9c519f1bd88c34143666cdf8a7b752f85ce Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Fri, 2 Nov 2012 19:35:20 +0000 Subject: [PATCH] -O2 in new avr-gcc makes too big a bootloader to fit on 328(and 328p) --- hardware/arduino/avr/bootloaders/atmega/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 hardware/arduino/avr/bootloaders/atmega/Makefile diff --git a/hardware/arduino/avr/bootloaders/atmega/Makefile b/hardware/arduino/avr/bootloaders/atmega/Makefile old mode 100644 new mode 100755 index 36a3b6b14..52e486b0d --- a/hardware/arduino/avr/bootloaders/atmega/Makefile +++ b/hardware/arduino/avr/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 =