diff options
author | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-08-04 23:06:33 -0700 |
---|---|---|
committer | noroadsleft <18669334+noroadsleft@users.noreply.github.com> | 2019-08-04 23:06:33 -0700 |
commit | 7f8922ae7bc6c52bd22d3953b8eda9e87c664cf9 (patch) | |
tree | 3aaecbcb755bfe722e1c3522079ff146b90542f8 /keyboards/satan/keymaps/iso_split_rshift/build.sh | |
parent | 72f382fc02b3c5c81c54fd2d239d653fe2f8083c (diff) | |
download | firmware-7f8922ae7bc6c52bd22d3953b8eda9e87c664cf9.tar.gz firmware-7f8922ae7bc6c52bd22d3953b8eda9e87c664cf9.tar.bz2 firmware-7f8922ae7bc6c52bd22d3953b8eda9e87c664cf9.zip |
GH60 Refactor: Move Satan into GH60 directory (#6485)
* Move Satan into the GH60 directory to avoid the confusion of what PCB people have
* set bootmagic to lite
* rename gh60 file to revc
Diffstat (limited to 'keyboards/satan/keymaps/iso_split_rshift/build.sh')
-rwxr-xr-x | keyboards/satan/keymaps/iso_split_rshift/build.sh | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/keyboards/satan/keymaps/iso_split_rshift/build.sh b/keyboards/satan/keymaps/iso_split_rshift/build.sh deleted file mode 100755 index 6b4b4568f..000000000 --- a/keyboards/satan/keymaps/iso_split_rshift/build.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash -# adjust for cpu -# -j 16 gave best result on a hyperthreaded quad core core i7 - -LIMIT=10 -THREADS="-j 16" -KMAP=iso_split_rshift - -echo "We need sudo later" -sudo ls 2>&1 /dev/null - -function wait_bootloader { - echo "Waiting for Bootloader..." - local STARTTIME=$(date +"%s") - local REMIND=0 - local EXEC=dfu-programmer - local TARGET=atmega32u4 - while true - do - sudo $EXEC $TARGET get > /dev/null 2>&1 - [ $? -eq 0 ] && break - ENDTIME=$(date +"%s") - DURATION=$(($ENDTIME-$STARTTIME)) - if [ $REMIND -eq 0 -a $DURATION -gt $LIMIT ] - then - echo "Did you forget to press the reset button?" - REMIND=1 - fi - sleep 1 - done -} -make clean -make KEYMAP=${KMAP} ${THREADS} -if [[ $? -eq 0 ]] -then - echo "please trigger flashing!" - wait_bootloader - sudo make KEYMAP=${KMAP} dfu ${THREADS} -else - echo "make failed" - exit 77 -fi |