summaryrefslogtreecommitdiffstats
path: root/keyboard/preonic/flash-pcb.sh
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-04-01 14:44:08 -0400
committerJack Humbert <jack.humb@gmail.com>2016-04-01 14:44:08 -0400
commit54b0a2bf765033f636d1d8440081f75126dfee81 (patch)
tree67d1cfb3c86e68b6580df45351975b2f17367836 /keyboard/preonic/flash-pcb.sh
parent8e72455608e83add364b4eaf1d6acb3b13c436c4 (diff)
adding files is always smart
Diffstat (limited to 'keyboard/preonic/flash-pcb.sh')
-rwxr-xr-xkeyboard/preonic/flash-pcb.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboard/preonic/flash-pcb.sh b/keyboard/preonic/flash-pcb.sh
new file mode 100755
index 0000000000..8b59b83f5e
--- /dev/null
+++ b/keyboard/preonic/flash-pcb.sh
@@ -0,0 +1,3 @@
+dfu-programmer atmega32u4 erase --force
+dfu-programmer atmega32u4 flash preonic_pcb.hex
+dfu-programmer atmega32u4 reset \ No newline at end of file