From 88b90ee4afdca1088635c77f30729f943f18c192 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Mon, 10 Feb 2020 14:59:06 +0100 Subject: [PATCH] boards/arduino-uno: Refactor avrdude conf --- boards/arduino-uno/Makefile.include | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/boards/arduino-uno/Makefile.include b/boards/arduino-uno/Makefile.include index 09edce47640a..396b651e0a2b 100644 --- a/boards/arduino-uno/Makefile.include +++ b/boards/arduino-uno/Makefile.include @@ -3,14 +3,7 @@ PORT_LINUX ?= /dev/ttyACM0 PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*))) BAUD ?= 9600 -# PROGRAMMER defaults to stk500v2 which is the internal flasher via USB -# using avrdude. Can be overridden for debugging (which requires changes -# that require to use an ISP) -PROGRAMMER ?= arduino -# configure programmer speed in baud -FFLAGS_EXTRA += -b 115200 - -BOOTLOADER_SIZE ?= 512 -ROM_RESERVED ?= $(BOOTLOADER_SIZE) +ARDUINO_UNO_BOOTLOADER ?= optiboot +BOOTLOADER ?= $(ARDUINO_UNO_BOOTLOADER) include $(RIOTBOARD)/common/arduino-atmega/Makefile.include