adjust flash.sh script to build the requested display

This commit is contained in:
Tangent Wantwight 2019-11-23 19:18:42 -05:00
parent 5d8dd68d47
commit d20aeaa7ea

View file

@ -2,7 +2,9 @@
set -e
APPLET=$1
cargo build --release --features $1
APPLET=harrogate
TARGET_BIN="target/thumbv6m-none-eabi/release/$APPLET"
test -e "$TARGET_BIN" || {
echo "'$APPLET' does not exist"