2019-10-17 18:49:25 +02:00
|
|
|
# configure the terminal program
|
2019-12-04 22:43:41 +01:00
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
2019-10-17 18:49:25 +02:00
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
2019-12-04 22:43:41 +01:00
|
|
|
BAUD ?= 115200
|
2019-10-17 18:49:25 +02:00
|
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
|
|
|
|
# PROGRAMMER defaults to UM232H which is a FT232H breakout board
|
|
|
|
# externally connected using wires
|
|
|
|
PROGRAMMER_MICRODUINO_CORERF ?= UM232H
|
|
|
|
PROGRAMMER ?= $(PROGRAMMER_MICRODUINO_CORERF)
|
|
|
|
|
|
|
|
# We don't use a bootloader
|
|
|
|
BOOTLOADER_SIZE ?= 0
|
|
|
|
ROM_RESERVED ?= $(BOOTLOADER_SIZE)
|
|
|
|
|
|
|
|
include $(RIOTMAKE)/tools/avrdude.inc.mk
|
|
|
|
include $(RIOTBOARD)/common/atmega/Makefile.include
|