2019-10-15 14:16:44 +02:00
|
|
|
# For backward compatibility
|
|
|
|
ifneq (,$(AVRDUDE_PORT))
|
|
|
|
$(warning Warning! AVRDUDE_PORT is deprecated use PROG_DEV)
|
|
|
|
PROG_DEV ?= $(AVRDUDE_PORT)
|
|
|
|
endif
|
|
|
|
|
2017-07-03 19:23:28 +02:00
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
2019-10-15 14:16:44 +02:00
|
|
|
PROG_DEV ?= /dev/ttyACM0
|
2017-07-03 19:23:28 +02:00
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
|
|
BAUD ?= 9600
|
|
|
|
|
|
|
|
# PROGRAMMER defaults to avr109 which is the internal flasher via USB. Can be
|
|
|
|
# overridden for debugging (which requires changes that require to use an ISP)
|
2020-02-10 15:01:27 +01:00
|
|
|
BOOTLOADER ?= avr109
|
2017-07-03 19:23:28 +02:00
|
|
|
|
|
|
|
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include
|