2017-11-13 16:09:23 +01:00
|
|
|
# set default port depending on operating system
|
|
|
|
PORT_LINUX ?= /dev/ttyACM0
|
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
|
|
|
2018-02-05 23:42:21 +01:00
|
|
|
# setup serial terminal
|
|
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
|
|
|
2017-11-13 16:09:23 +01:00
|
|
|
# setup JLink for flashing
|
|
|
|
export JLINK_DEVICE := EFR32MG1PxxxF256
|
2019-02-25 14:09:58 +01:00
|
|
|
export JLINK_PRE_FLASH = r
|
2017-11-13 16:09:23 +01:00
|
|
|
include $(RIOTMAKE)/tools/jlink.inc.mk
|
|
|
|
|
2018-02-05 23:42:21 +01:00
|
|
|
# include board common
|
|
|
|
include $(RIOTBOARD)/common/silabs/Makefile.include
|