Skip to content

Commit

Permalink
boards/arduino-mega2560: Refactor avrdude conf
Browse files Browse the repository at this point in the history
  • Loading branch information
maribu committed Feb 10, 2020
1 parent 750d307 commit 23531b3
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions boards/arduino-mega2560/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?= stk500v2
# configure programmer speed in baud
FFLAGS_EXTRA += -b 115200

BOOTLOADER_SIZE ?= 8K
ROM_RESERVED ?= $(BOOTLOADER_SIZE)
ARDUINO_MEGA2560_BOOTLOADER ?= stk500v2
BOOTLOADER ?= $(ARDUINO_MEGA2560_BOOTLOADER)

include $(RIOTBOARD)/common/arduino-atmega/Makefile.include

0 comments on commit 23531b3

Please sign in to comment.