aboutsummaryrefslogtreecommitdiffstats
path: root/keyboard/preonic/flash-pcb.sh
diff options
context:
space:
mode:
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 000000000..8b59b83f5
--- /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