From 777592dff1d4b8215458da42fee40affcc1424fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= Date: Mon, 25 Feb 2019 14:09:58 +0100 Subject: [PATCH] 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. --- boards/sltb001a/Makefile.include | 1 + 1 file changed, 1 insertion(+) diff --git a/boards/sltb001a/Makefile.include b/boards/sltb001a/Makefile.include index 69d13e8fa4..e7370b65a6 100644 --- a/boards/sltb001a/Makefile.include +++ b/boards/sltb001a/Makefile.include @@ -11,6 +11,7 @@ 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