diff options
Diffstat (limited to 'keyboards/tornish/flash.sh')
-rwxr-xr-x | keyboards/tornish/flash.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/tornish/flash.sh b/keyboards/tornish/flash.sh new file mode 100755 index 0000000..9bfdb01 --- /dev/null +++ b/keyboards/tornish/flash.sh @@ -0,0 +1,8 @@ +#!/bin/sh +FIRMWARE=~/waffle_git/qmk_firmware/tornish_default.hex +BOOTLOADER=~/waffle_git/qmk_me/keyboards/tornish/usbasploader_atmega328p.hex + +qmk compile -kb tornish -km default > /dev/null +sed -i '$ d' $FIRMWARE +cat $BOOTLOADER >> $FIRMWARE +doas avrdude -c usbtiny -p atmega328p -U flash:w:$FIRMWARE:i |