adding lets split keymap

This commit is contained in:
Adam Bell
2017-05-14 21:08:53 -04:00
parent 82de4d039d
commit 587b0de6e5
6 changed files with 141 additions and 2 deletions

14
avrdude Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
set -x
BUILD_DIR=.
TARGET=lets_split_rev2_adam.hex
MCU=atmega32u4
ls /dev/tty* > /tmp/1;
echo "Reset your Pro Micro now";
while [[ -z $USB ]]; do
echo "."
sleep 1;
ls /dev/tty* > /tmp/2;
USB=`diff /tmp/1 /tmp/2 | grep -o '/dev/tty.*'`;
done;
avrdude -p $MCU -c avr109 -P $USB -U flash:w:$BUILD_DIR/$TARGET