mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
636285ebe4
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are automatically included Part of moving CPU/CPU_MODEL definition to Makefile.features to have it available before Makefile.include.
19 lines
504 B
Makefile
19 lines
504 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_DEVICE := EFR32MG1PxxxF256
|
|
export JLINK_PRE_FLASH = r
|
|
include $(RIOTMAKE)/tools/jlink.inc.mk
|
|
|
|
# add board common drivers
|
|
USEMODULE += boards_common_silabs
|
|
USEMODULE += silabs_pic
|
|
|
|
# include board common
|
|
include $(RIOTBOARD)/common/silabs/Makefile.include
|