2017-11-16 12:23:35 +01:00
|
|
|
USEMODULE += boards_common_arduino-atmega
|
2014-07-15 12:10:14 +02:00
|
|
|
|
2018-05-15 02:16:27 +02:00
|
|
|
# configure the terminal program
|
|
|
|
PORT_LINUX ?= /dev/ttyACM0
|
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
|
|
BAUD ?= 9600
|
2017-02-02 20:04:25 +01:00
|
|
|
|
2018-05-15 02:16:27 +02:00
|
|
|
# PROGRAMMER defaults to stk500v2 which is the internal flasher via USB
|
|
|
|
# using avrdude. Can be overridden for debugging (which requires changes
|
|
|
|
# that require to use an ISP)
|
|
|
|
PROGRAMMER ?= stk500v2
|
|
|
|
# configure programmer speed in baud
|
|
|
|
FFLAGS_EXTRA += -b 115200
|
2014-09-23 11:24:39 +02:00
|
|
|
|
2018-08-16 19:15:05 +02:00
|
|
|
BOOTLOADER_SIZE ?= 8K
|
|
|
|
ROM_RESERVED ?= $(BOOTLOADER_SIZE)
|
|
|
|
|
2017-11-16 12:23:35 +01:00
|
|
|
include $(RIOTBOARD)/common/arduino-atmega/Makefile.include
|