1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/slstk3401a/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

13 lines
339 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_PRE_FLASH = r
# include board common
include $(RIOTBOARD)/common/silabs/Makefile.include