2020-06-24 16:27:50 +02:00
|
|
|
PSEUDOMODULES += feather-m0-wifi
|
|
|
|
|
2019-06-03 16:21:28 +02:00
|
|
|
PORT_LINUX ?= /dev/ttyACM0
|
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
2017-08-24 11:44:56 +02:00
|
|
|
|
|
|
|
# setup serial terminal
|
|
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
|
|
|
|
# setup the flash tool used
|
|
|
|
ifeq ($(PROGRAMMER),jlink)
|
|
|
|
# in case J-Link is attached to SWD pins, use a plain CPU memory model
|
2020-03-03 11:56:38 +01:00
|
|
|
JLINK_DEVICE = atsamd21
|
2017-08-24 11:44:56 +02:00
|
|
|
include $(RIOTMAKE)/tools/jlink.inc.mk
|
|
|
|
endif
|
|
|
|
|
2019-09-30 17:17:24 +02:00
|
|
|
# Include all definitions for flashing with bossa over USB
|
|
|
|
include $(RIOTBOARD)/common/samd21-arduino-bootloader/Makefile.include
|