From 8e5268df221e136a3559b97bca028d570d679242 Mon Sep 17 00:00:00 2001 From: DeltaLima Date: Thu, 24 Oct 2024 21:46:19 +0200 Subject: [PATCH] Arduino/CanGrow/cangrow.sh aktualisiert --- Arduino/CanGrow/cangrow.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}