mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Alexandre Abadie
32f4986757
stdio_uart is already pulled by default by the dependency resolution mechanism.
17 lines
472 B
Makefile
17 lines
472 B
Makefile
# 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
|
|
export JLINK_DEVICE := FE310
|
|
export JLINK_IF := JTAG
|
|
export FLASH_ADDR := 0x20010000
|
|
include $(RIOTMAKE)/tools/jlink.inc.mk
|
|
|
|
TESTRUNNER_RESET_DELAY = 1
|
|
$(call target-export-variables,test,TESTRUNNER_RESET_DELAY)
|