mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
f2edcf9674
- Choose correct debug protocol for ATmega328P (which supports debugWIRE instead of JTAG) - Allow overwriting debugger device via AVR_DEBUGDEVICE environment variable, default to the Atmel-ICE (least expensive, supports most AVR devices)
9 lines
270 B
Makefile
9 lines
270 B
Makefile
# configure the terminal program
|
|
PORT_LINUX ?= /dev/ttyACM0
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
BAUD ?= 115200
|
|
# Use EDBG (xplainedpro) programmer with avrdude
|
|
PROGRAMMER ?= xplainedpro
|
|
|
|
include $(RIOTBOARD)/common/atmega/Makefile.include
|