1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/arduino-mega2560: Refactor avrdude conf

This commit is contained in:
Marian Buschsieweke 2020-02-10 14:58:18 +01:00
parent 750d3078e4
commit 23531b3a73
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -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