# set default port depending on operating system PORT_LINUX ?= /dev/ttyACM0 PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*))) # setup serial terminal include $(RIOTMAKE)/tools/serial.inc.mk # setup JLink for flashing # export JLINK := JLink JLINK_DEVICE = FE310 JLINK_IF = JTAG FLASH_ADDR = 0x20010000 include $(RIOTMAKE)/tools/jlink.inc.mk TESTRUNNER_RESET_DELAY = 1 $(call target-export-variables,test,TESTRUNNER_RESET_DELAY)