diff --git a/Arduino/CanGrow/cangrow.sh b/Arduino/CanGrow/cangrow.sh index 74a87bb..eeef718 100755 --- a/Arduino/CanGrow/cangrow.sh +++ b/Arduino/CanGrow/cangrow.sh @@ -12,7 +12,7 @@ BUILD="$(git rev-parse --short HEAD)-$(echo $BOARD | cut -d : -f1)-$(date '+%Y%m ACLI="$HOME/.local/bin/arduino-cli" ACLI_CMD="$ACLI --config-file arduino-cli.yml" test -z $BUILDDIR && BUILDDIR="build" -ACLI_CMD="${ACLI_CMD} --output-dir ${BUILDDIR}" + function help() { echo "$0 [setup|build|upload|webupload|monitor]" @@ -92,6 +92,7 @@ case $1 in ;; b|build) check_acli + ACLI_CMD="${ACLI_CMD} --output-dir ${BUILDDIR}" echo ":: Building firmware $VER $BUILD, target dir: ${BUILDDIR}/" test -d ${BUILDDIR} || mkdir ${BUILDDIR}