1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 22:43:50 +01:00
RIOT/boards/common/slwstk6000b/Makefile.include
chrysn f4b1d60887 boards/*silabs: Move programmer selection to common
This removes duplication for the jlink case (keeping only any
non-default values in the board makefiles), and opens up STK3700's
OpenOCD programmability for generic boards.
2020-02-14 09:42:20 +01:00

19 lines
578 B
Makefile

include $(RIOTBOARD)/common/slwstk6000b/module-info.mk
INCLUDES += -I$(RIOTBOARD)/common/slwstk6000b/include
# add module specific includes
INCLUDES += -I$(RIOTBOARD)/common/slwstk6000b/modules/$(BOARD_MODULE)/include
# 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_DEVICE := $(MODULE_JLINK_DEVICE)
# include board common
include $(RIOTBOARD)/common/silabs/Makefile.include