1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/sltb001a/Makefile.include
Gaëtan Harter 777592dff1
boards/sltb001a: reset before flashing
When it was running 'hello-world', the board could not be flashed through
JLinkExe anymore and only through the drag and drop support.

By resetting the board before doing 'loadbin' it can now be flashed
properly.
2019-05-20 13:54:06 +02:00

23 lines
598 B
Makefile

# define the cpu used by SLTB001A
export CPU = efm32
export CPU_MODEL = efr32mg1p132f256gm48
# 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