mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
17 lines
569 B
Makefile
17 lines
569 B
Makefile
# For backward compatibility
|
|
ifneq (,$(AVRDUDE_PORT))
|
|
$(warning Warning! AVRDUDE_PORT is deprecated use PROG_DEV)
|
|
PROG_DEV ?= $(AVRDUDE_PORT)
|
|
endif
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
|
PROG_DEV ?= /dev/ttyACM0
|
|
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)
|
|
ARDUINO_LEONARDO_BOOTLOADER ?= avr109
|
|
|
|
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include
|