parent
4ab61344f5
commit
0db6ac46aa
@ -1,14 +0,0 @@ |
|||||||
#!/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 |
|
@ -1,11 +0,0 @@ |
|||||||
# specify keyboard / keymap / subproject (if req) and run `docker compose up` |
|
||||||
# will install all deps into a docker container and build firmware, cross platform |
|
||||||
# Only prereq is docker |
|
||||||
qmk: |
|
||||||
build: . |
|
||||||
environment: |
|
||||||
keyboard: lets_split |
|
||||||
keymap: adam |
|
||||||
subproject: rev2 |
|
||||||
volumes: |
|
||||||
- .:/qmk |
|
Loading…
Reference in new issue