summaryrefslogtreecommitdiff
path: root/keyboards/dz60/keymaps/billiams/build_flash.sh
diff options
context:
space:
mode:
authorWilliam Chang <william@factual.com>2019-04-20 12:09:47 -0700
committerWilliam Chang <william@factual.com>2019-04-20 12:09:47 -0700
commit156fd4e9693e05fb12933bddb49e1a387fa1fab3 (patch)
tree13b553ea0681636d3908148d8ca14be810d7086b /keyboards/dz60/keymaps/billiams/build_flash.sh
parentd3268280ef7077ec1c800d30b8e98f1976192a14 (diff)
Initial commit
Diffstat (limited to 'keyboards/dz60/keymaps/billiams/build_flash.sh')
-rw-r--r--keyboards/dz60/keymaps/billiams/build_flash.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/dz60/keymaps/billiams/build_flash.sh b/keyboards/dz60/keymaps/billiams/build_flash.sh
new file mode 100644
index 0000000000..d98b79c9de
--- /dev/null
+++ b/keyboards/dz60/keymaps/billiams/build_flash.sh
@@ -0,0 +1,8 @@
+# dfu-programmer atmega32u4 erase --force
+# dfu-programmer atmega32u4 flash /path/to/firmware.hex
+# dfu-programmer atmega32u4 reset
+
+make dz60:billiams
+dfu-programmer atmega32u4 erase --force && \
+dfu-programmer atmega32u4 flash .build/dz60_billiams.hex && \
+dfu-programmer atmega32u4 reset \ No newline at end of file