2017-11-13 16:09:23 +01:00
|
|
|
# define the cpu used by SLTB001A
|
2017-11-29 19:54:49 +01:00
|
|
|
export CPU = efm32
|
2017-11-13 16:09:23 +01:00
|
|
|
export CPU_MODEL = efr32mg1p132f256gm48
|
|
|
|
|
|
|
|
# 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
|
|
|
|
include $(RIOTMAKE)/tools/jlink.inc.mk
|
|
|
|
|
2018-02-05 23:42:21 +01:00
|
|
|
# add board common drivers
|
|
|
|
USEMODULE += boards_common_silabs
|
|
|
|
USEMODULE += silabs_pic
|
|
|
|
|
|
|
|
# include board common
|
|
|
|
include $(RIOTBOARD)/common/silabs/Makefile.include
|