Skip to content

Commit 3831c9c

Browse files
iMartyncmaglie
authored andcommitted
-O2 in new avr-gcc makes too big a bootloader to fit on 328(and 328p)
1 parent 8f5ca0a commit 3831c9c

File tree

1 file changed

+1
-1
lines changed
  • hardware/arduino/avr/bootloaders/atmega

1 file changed

+1
-1
lines changed

hardware/arduino/avr/bootloaders/atmega/Makefile

100644100755
Lines changed: 1 addition & 1 deletion
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)