mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/efm32: reset board before flashing
This was added for other boards in #12160, and improves flashing reliability.
This commit is contained in:
parent
42deb1ab85
commit
c79c192ba4
@ -12,6 +12,7 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
# setup JLink for flashing
|
||||
include $(RIOTBOARD)/common/slwstk6000b/slwstk6000b.info.mk
|
||||
JLINK_DEVICE = $(word 2, $(SLWSTK6000B_MAINBOARD_VARS_$(BOARD_MODULE)))
|
||||
JLINK_PRE_FLASH = r
|
||||
|
||||
# include board common
|
||||
include $(RIOTBOARD)/common/silabs/Makefile.include
|
||||
|
@ -4,6 +4,7 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
|
||||
# setup JLink for flashing
|
||||
JLINK_DEVICE = EFR32MG1PxxxF256
|
||||
JLINK_PRE_FLASH = r
|
||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||
|
||||
# setup serial terminal
|
||||
|
@ -5,5 +5,8 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
# setup serial terminal
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# setup JLink for flashing
|
||||
JLINK_PRE_FLASH = r
|
||||
|
||||
# include board common
|
||||
include $(RIOTBOARD)/common/silabs/Makefile.include
|
||||
|
@ -5,5 +5,8 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
# setup serial terminal
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# setup JLink for flashing
|
||||
JLINK_PRE_FLASH = r
|
||||
|
||||
# include board common
|
||||
include $(RIOTBOARD)/common/silabs/Makefile.include
|
||||
|
@ -5,5 +5,8 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
# setup serial terminal
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# setup JLink for flashing
|
||||
JLINK_PRE_FLASH = r
|
||||
|
||||
# include board common
|
||||
include $(RIOTBOARD)/common/silabs/Makefile.include
|
||||
|
Loading…
Reference in New Issue
Block a user