Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 0 additions & 39 deletions curl.sh

This file was deleted.

27 changes: 0 additions & 27 deletions enter_dfu.py

This file was deleted.

9 changes: 7 additions & 2 deletions flash_firmware.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@
#This script actually runs dfu-util to flash firmware to the Mod-T
#Currently the firmware version and location is hard-coded for testing purposes. Eventually this should be changed to $1
#Actually start writing the firmware, in the background, and log to a file.
dfu-util -d 2b75:0003 -a 0 -s 0x0:leave -D /home/xaero/Downloads/firmware_modt_override.dfu > /tmp/dfu &

if [ "$1" == "" ]; then
echo "No DFU-file specified"
exit 1
fi

dfu-util -d 2b75:0003 -a 0 -s 0x0:leave -D $1 > /tmp/dfu &

#Loop until the firmware has been written
while true; do
Expand All @@ -25,4 +31,3 @@ done

#cleanup our temporary file
rm /tmp/dfu

40 changes: 0 additions & 40 deletions fw_update.py

This file was deleted.

62 changes: 0 additions & 62 deletions latest_firmware.py

This file was deleted.

41 changes: 0 additions & 41 deletions load_filament.py

This file was deleted.

Loading