1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/slstk3402a/Makefile.include
MrKevinWeiss 853540ce32 boards/slstk3402a: Add reset before flashing
It seems that this board needs a reset command before flashing with jlink
This adds the reset - r - to the JLINK_PRE_FLASH
2019-09-03 13:19:27 +02:00

20 lines
523 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 := $(CPU_MODEL)
export JLINK_PRE_FLASH = r
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