build with ./make and flash with ./make flash
authorgirst <girst@users.noreply.github.com>
Wed, 13 Dec 2017 22:26:58 +0000 (23:26 +0100)
committergirst <girst@users.noreply.github.com>
Wed, 13 Dec 2017 22:26:58 +0000 (23:26 +0100)
keyboard/tv44/make [new file with mode: 0755]

diff --git a/keyboard/tv44/make b/keyboard/tv44/make
new file mode 100755 (executable)
index 0000000..e5d4101
--- /dev/null
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+make clean
+make -f Makefile.actionmap
+
+case $1 in
+       flash)  sudo dfu-programmer atmega32u4 erase
+               sudo dfu-programmer atmega32u4 flash tv44_lufa.hex
+               sudo dfu-programmer atmega32u4 start;;
+esac
+
+:<<EOF
+ 9577  make clean
+ 9578  make -f Makefile.actionmap
+ 9579  sudo dfu-programmer atmega32u4 erase
+ 9580  sudo dfu-programmer atmega32u4 flash tv44_lufa.hex
+ 9581  sudo dfu-programmer atmega32u4 start
+EOF
Imprint / Impressum