boards/arduino-mega2560: Refactor avrdude conf
This commit is contained in:
parent
750d3078e4
commit
23531b3a73
@ -3,14 +3,7 @@ PORT_LINUX ?= /dev/ttyACM0
|
|||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||||
BAUD ?= 9600
|
BAUD ?= 9600
|
||||||
|
|
||||||
# PROGRAMMER defaults to stk500v2 which is the internal flasher via USB
|
ARDUINO_MEGA2560_BOOTLOADER ?= stk500v2
|
||||||
# using avrdude. Can be overridden for debugging (which requires changes
|
BOOTLOADER ?= $(ARDUINO_MEGA2560_BOOTLOADER)
|
||||||
# that require to use an ISP)
|
|
||||||
PROGRAMMER ?= stk500v2
|
|
||||||
# configure programmer speed in baud
|
|
||||||
FFLAGS_EXTRA += -b 115200
|
|
||||||
|
|
||||||
BOOTLOADER_SIZE ?= 8K
|
|
||||||
ROM_RESERVED ?= $(BOOTLOADER_SIZE)
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include
|
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user