You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk_firmware/forksand-build-flash.sh

20 lines
364 B

#!/bin/bash
# XXX Cruft
echo "Clean."
make clean && \
echo "Build."
make xd87:default_tkl_ansi && \
echo "Erase."
dfu-programmer atmega32u4 erase \
|| ( echo "Hold down left shift, right shift, and b to enter dfu flashing mode" ; exit )
echo "Flash."
dfu-programmer atmega32u4 flash ./xd87_default_tkl_ansi.hex
echo "Reset."
dfu-programmer atmega32u4 reset