Mercurial > louis > kiibohd-controller
changeset 274:6816f4ec783e
Adding some convenience scripts used in manufacturing.
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Mon, 09 Feb 2015 13:15:25 -0800 |
parents | 07060ac3c813 |
children | d5bf41d7f7ef |
files | Bootloader/Scripts/easyMode.bash Bootloader/Scripts/ledTest.bash |
diffstat | 2 files changed, 24 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Bootloader/Scripts/easyMode.bash Mon Feb 09 13:15:25 2015 -0800 @@ -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 +