diff options
| author | Keith Packard <keithp@keithp.com> | 2016-03-02 14:01:00 -0800 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2016-03-02 14:01:00 -0800 | 
| commit | 88ee4ac0c91e12a02cc1954ffad0fd8603e24e55 (patch) | |
| tree | ca3723efcddd841d96776e1e1269f163c364ebe2 | |
| parent | 3a355d5c84e9d975897fa69a103952a1f1558947 (diff) | |
ao-bringup: Switch to v1.0 for chaoskey
Not going to build any more v0.1 boards. Also, chaoskey now uses the
unique ID for a serial, so we don't need to provide a serial number.
Signed-off-by: Keith Packard <keithp@keithp.com>
| -rwxr-xr-x | ao-bringup/turnon_chaoskey | 20 | 
1 files changed, 2 insertions, 18 deletions
diff --git a/ao-bringup/turnon_chaoskey b/ao-bringup/turnon_chaoskey index 8c8a6758..3617e777 100755 --- a/ao-bringup/turnon_chaoskey +++ b/ao-bringup/turnon_chaoskey @@ -14,7 +14,7 @@ else  	exit 1  fi -VERSION=0.1 +VERSION=1.0  PRODUCT=ChaosKey  echo "ChaosKey v$VERSION Turn-On and Calibration Program" @@ -25,26 +25,10 @@ echo "\tChaosKey v$VERSION powered from USB"  echo "\t\twith ST-Link-V2 cabled to debug header"  echo - -case $# in -    1) -	SERIAL="$1" -	echo "$PRODUCT-$VERSION serial number: $SERIAL"  -	;; -    0) -	echo -n "$PRODUCT-$VERSION serial number: " -	read SERIAL -	;; -    *) -	echo "Usage: $0 <serial-number>" 1>&2 -	exit 1; -	;; -esac -  $FLASH_STM ../src/chaoskey-v$VERSION/flash-loader/chaoskey-v$VERSION-*.elf || exit 1  sleep 2 -$USBLOAD --serial=$SERIAL ../src/chaoskey-v$VERSION/chaoskey-v$VERSION*.ihx || exit 1 +$USBLOAD --serial=1 ../src/chaoskey-v$VERSION/chaoskey-v$VERSION*.ihx || exit 1  exit $?  | 
