summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-01-17 12:06:59 +0700
committerhathach <[email protected]>2020-01-17 12:06:59 +0700
commit3208fe00b6a34032492f0ec4b8f6a4d8ca12e474 (patch)
tree257ac05f4851eaa378d4ea7f71886b17eaecef5e /examples
parentc3f4c75cfc0b4d2e1e3ba5c5842f494e6f4421b2 (diff)
clean up
Diffstat (limited to 'examples')
-rw-r--r--examples/rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/rules.mk b/examples/rules.mk
index 2969a66f1..87c7e9649 100644
--- a/examples/rules.mk
+++ b/examples/rules.mk
@@ -120,6 +120,7 @@ endif
# Flash using jlink
flash-jlink: $(BUILD)/$(BOARD)-firmware.hex
@echo halt > $(BUILD)/$(BOARD).jlink
+ @echo r > $(BUILD)/$(BOARD).jlink
@echo loadfile $^ >> $(BUILD)/$(BOARD).jlink
@echo r >> $(BUILD)/$(BOARD).jlink
@echo go >> $(BUILD)/$(BOARD).jlink