mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
8305390a05
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are automatically included Part of moving CPU/CPU_MODEL definition to Makefile.features to have it available before Makefile.include.
15 lines
449 B
Makefile
15 lines
449 B
Makefile
# export this module and its includes
|
|
USEMODULE += boards_common_arduino_due
|
|
INCLUDES += -I$(RIOTBOARD)/common/arduino-due/include
|
|
|
|
# define the default port depending on the host OS
|
|
PORT_LINUX ?= /dev/ttyACM0
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
|
|
# setup serial terminal
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
# setup flasher (using BOSSA)
|
|
export BOSSA_ARDUINO_PREFLASH = yes
|
|
include $(RIOTMAKE)/tools/bossa.inc.mk
|