Skip to content

Commit 10da8ab

Browse files
iMartyncmaglie
authored andcommitted
-O2 in new avr-gcc makes too big a bootloader to fit on 328(and 328p)
1 parent 8416a2c commit 10da8ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootloaders/atmega/Makefile

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ STK500-2 = $(STK500) -d$(MCU_TARGET) -ms -q -lCF -LCF -cUSB -I200kHz -s -wt
4848

4949

5050
OBJ = $(PROGRAM).o
51-
OPTIMIZE = -O2
51+
OPTIMIZE = -Os
5252

5353
DEFS =
5454
LIBS =

0 commit comments

Comments
 (0)