RIOT/boards/nucleo-common/Makefile.include

16 lines
466 B
Makefile

# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTBOARD)/Makefile.include.serial
# this board uses openocd
include $(RIOTBOARD)/Makefile.include.openocd
# include dependencies
include $(RIOTBOARD)/nucleo-common/Makefile.dep
# add the common header files to the include path
INCLUDES += -I$(RIOTBOARD)/nucleo-common/include