summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-07-27 11:34:00 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-07-27 11:34:00 +0200
commit353aa77910b3a9eeb8282539b17c76c7c7ec0dc7 (patch)
tree74e5b190c98b50952d153e98cdfe50e689f8c5c4 /src/arch
parent3fddb519f01ca53f1fd6f5c24e154912b25d1138 (diff)
arduino-nano: Enable LTO
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arduino-nano/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arduino-nano/Makefile.inc b/src/arch/arduino-nano/Makefile.inc
index b97ae16..d481fa2 100644
--- a/src/arch/arduino-nano/Makefile.inc
+++ b/src/arch/arduino-nano/Makefile.inc
@@ -1,11 +1,11 @@
# vim:ft=make
MCU = atmega328p
-PROGRAMMER ?= usbasp
PORT = /dev/ttyUSB0
BAUD = 57600
COMMON_FLAGS += -mmcu=${MCU} -DF_CPU=16000000UL -DMULTIPASS_ARCH_arduino_nano
+COMMON_FLAGS += -flto
COMMON_FLAGS += -DMULTIPASS_ARCH_HAS_I2C
CC = avr-gcc