From 10da8ab42f635b96bb848574e446bf32a9e4165b Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Fri, 2 Nov 2012 19:35:20 +0000 Subject: -O2 in new avr-gcc makes too big a bootloader to fit on 328(and 328p) --- bootloaders/atmega/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 bootloaders/atmega/Makefile diff --git a/bootloaders/atmega/Makefile b/bootloaders/atmega/Makefile old mode 100644 new mode 100755 index 36a3b6b..52e486b --- 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 = -- cgit v1.2.3-18-g5258