mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
23 lines
592 B
Makefile
23 lines
592 B
Makefile
# define the cpu used by SLSTK3401A
|
|
export CPU = efm32
|
|
export CPU_MODEL = efm32pg1b200f256gm48
|
|
|
|
# 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 := $(CPU_MODEL)
|
|
include $(RIOTMAKE)/tools/jlink.inc.mk
|
|
|
|
# add board common drivers
|
|
USEMODULE += boards_common_silabs
|
|
USEMODULE += silabs_aem
|
|
USEMODULE += silabs_bc
|
|
|
|
# include board common
|
|
include $(RIOTBOARD)/common/silabs/Makefile.include
|