-
-
Save h0st1le/10dba85aa8e93c47263bb35630bf34e7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
set -o pipefail | |
dfu-util --alt 0 -s 0x08000000:force:unprotect -D "$1" | |
sleep 5 | |
dfu-util -R -a 0 -D "$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment