-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reset and bootloader per half, and update script
- Loading branch information
1 parent
47f44a1
commit 8204071
Showing
2 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
unzip -o -q .tmp/firmware.zip -d .tmp/ | ||
|
||
mkdir .tmp/nicenano/ | ||
sudo mount /dev/sda .tmp/nicenano/ | ||
|
||
sudo rm -f .tmp/nicenano/CURRENT.UF2 | ||
sudo cp $(find .tmp -name *left*) .tmp/nicenano/CURRENT.UF2 | ||
|
||
sudo umount .tmp/nicenano/ | ||
|
||
rm -rf .tmp/* |