mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
bf25e12602
- Move serial.inc.mk in mega-xplained/Makefile.include after PROG_DEV so PROG_DEV can still default to PORT - Add deprecation warning for arduino-leonardo and mega-xplained
20 lines
610 B
Makefile
20 lines
610 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)
|
|
PROGRAMMER ?= avr109
|
|
|
|
BOOTLOADER_SIZE ?= 4K
|
|
ROM_RESERVED ?= $(BOOTLOADER_SIZE)
|
|
|
|
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include
|