summaryrefslogtreecommitdiff
path: root/keyboards/amjkeyboard/amj40/keymaps
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-05-03 12:24:37 +1000
committerGitHub <noreply@github.com>2023-05-03 12:24:37 +1000
commitfb48db4c8f59feb2ad64b41d53d708a0673b0df4 (patch)
tree712692b68a7cd9217d6a6f77839b43ea0795ef46 /keyboards/amjkeyboard/amj40/keymaps
parent8b47aafdab5dee26c0effbbcf7b8d214f363f821 (diff)
Remove more junk files and scripts (#20682)
Diffstat (limited to 'keyboards/amjkeyboard/amj40/keymaps')
-rw-r--r--keyboards/amjkeyboard/amj40/keymaps/myee/build.sh42
1 files changed, 0 insertions, 42 deletions
diff --git a/keyboards/amjkeyboard/amj40/keymaps/myee/build.sh b/keyboards/amjkeyboard/amj40/keymaps/myee/build.sh
deleted file mode 100644
index 6b4b4568f5..0000000000
--- a/keyboards/amjkeyboard/amj40/keymaps/myee/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