mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
ddf3874995
Migrate the board to be implemented with a common/slwstk6000b. It is a pre step for splitting the board for each "BOARD_MODULE".
27 lines
760 B
Makefile
27 lines
760 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
|
|
|
|
export CPU_MODEL = $(MODULE_CPU)
|
|
|
|
# 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 $(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
|