Adding some convenience scripts used in manufacturing.
This commit is contained in:
parent
7c4e31277c
commit
762e75d875
18
Bootloader/Scripts/easyMode.bash
Normal file
18
Bootloader/Scripts/easyMode.bash
Normal file
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Just in case there was an extra ledTest.bash (don't care if error)
|
||||
rm /dev/ttyACM0
|
||||
|
||||
./swdLoad.bash kiibohd_manufacturing_2014-11-16.bin 0
|
||||
|
||||
echo "Press CTRL+C to Continue"
|
||||
|
||||
while true; do
|
||||
sleep 1
|
||||
if [ -e /dev/ttyACM0 ]; then
|
||||
./ledTest.bash
|
||||
fi
|
||||
done
|
||||
|
||||
exit 0
|
||||
|
6
Bootloader/Scripts/ledTest.bash
Normal file
6
Bootloader/Scripts/ledTest.bash
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
printf "led\r" > /dev/ttyACM0
|
||||
|
||||
exit 0
|
||||
|
Reference in New Issue
Block a user