diff options
author | Brian Cully <bjc@kublai.com> | 2019-08-06 19:42:02 -0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2019-08-06 19:42:02 -0400 |
commit | 862a82f35284eef20f757f800da013769ca82cc6 (patch) | |
tree | 61456bb63c080bb5f9c25c7c0b543a882cedd6b3 | |
parent | 268269beafa02510b676243630a1c40332e669c0 (diff) | |
download | bleusb-862a82f35284eef20f757f800da013769ca82cc6.tar.gz bleusb-862a82f35284eef20f757f800da013769ca82cc6.zip |
Reset the Trinket before DFU.
Resetting will put it in normal state no matter its previous state, so
DFU from there will always work.
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -35,6 +35,8 @@ cargo-build: $(OUTDIR)/$(APP): cargo-build flash: $(APP).bin + feather-cmd r + sleep 2 feather-cmd dfu sleep 2 $(BOSSAC) -R -e -w -v -o$(OFFSET) -p`./find-serial-port $(USBVID) $(USBPID)` $< |