mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
21 lines
597 B
Makefile
21 lines
597 B
Makefile
# define the default port depending on the host OS
|
|
PORT_LINUX ?= /dev/ttyUSB1
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*B)))
|
|
|
|
# setup serial terminal
|
|
BAUD = 500000
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
# Using connect_assert_srst removes errors on flash from invalid state
|
|
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
|
|
|
DEBUG_ADAPTER ?= iotlab
|
|
|
|
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/iotlab/dist/openocd.cfg
|
|
|
|
# this board uses openocd
|
|
include $(RIOTMAKE)/tools/openocd.inc.mk
|
|
|
|
# add the common header files to the include path
|
|
INCLUDES += -I$(RIOTBOARD)/common/iotlab/include
|