2019-11-04 14:00:56 +01:00
|
|
|
# configure the terminal program
|
|
|
|
PORT_LINUX ?= /dev/ttyACM0
|
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
2019-11-06 08:11:52 +01:00
|
|
|
BAUD ?= 115200
|
2019-11-04 14:00:56 +01:00
|
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
|
|
|
|
# Use EDBG (xplainedpro) programmer with avrdude
|
|
|
|
PROGRAMMER ?= xplainedpro
|
|
|
|
|
|
|
|
# This board can be reset via avrdude
|
|
|
|
RESET ?= avrdude -c $(PROGRAMMER) -p m256rfr2
|
2019-11-04 21:21:42 +01:00
|
|
|
# Use edbg interface for debugging
|
|
|
|
DEBUGSERVER_INTERFACE ?= --edbg
|
2019-11-04 14:00:56 +01:00
|
|
|
|
|
|
|
include $(RIOTMAKE)/tools/avrdude.inc.mk
|
|
|
|
include $(RIOTBOARD)/common/atmega/Makefile.include
|