2019-06-25 19:16:43 +02:00
|
|
|
# set default port depending on operating system
|
2019-11-07 14:14:05 +01:00
|
|
|
PORT_LINUX ?= /dev/ttyACM0
|
2019-06-25 19:16:43 +02:00
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
|
|
|
|
|
|
# setup serial terminal
|
|
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
|
|
|
|
# setup JLink for flashing
|
|
|
|
# export JLINK := JLink
|
2020-03-03 11:56:38 +01:00
|
|
|
JLINK_DEVICE = FE310
|
2020-03-03 16:14:54 +01:00
|
|
|
JLINK_IF = JTAG
|
2020-03-03 16:22:30 +01:00
|
|
|
FLASH_ADDR = 0x20010000
|
2019-06-25 19:16:43 +02:00
|
|
|
include $(RIOTMAKE)/tools/jlink.inc.mk
|
2020-01-10 08:34:45 +01:00
|
|
|
|
|
|
|
TESTRUNNER_RESET_DELAY = 1
|
|
|
|
$(call target-export-variables,test,TESTRUNNER_RESET_DELAY)
|