From 4595bea4e5a0d5943edf2c4028459b2ad3566d1e Mon Sep 17 00:00:00 2001 From: Marcus Date: Thu, 17 Oct 2024 21:48:03 +0200 Subject: [PATCH] disabled verbose compile output --- cangrow.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cangrow.sh b/cangrow.sh index b7df3ab..dc12ef9 100755 --- a/cangrow.sh +++ b/cangrow.sh @@ -6,6 +6,7 @@ test -z $IP && IP="192.168.4.20" test -z $VER && VER="0.2-dev" test -z $BOARD && BOARD="esp8266:esp8266:d1_mini_clone" #test -z $BOARD && BOARD="esp32:esp32:d1_mini32" + BUILD="$(git rev-parse --short HEAD)-$(echo $BOARD | cut -d : -f1)-$(date '+%Y%m%d%H%M%S')" ACLI="$HOME/.local/bin/arduino-cli" @@ -100,7 +101,7 @@ case $1 in echo ":: Building firmware $VER $BUILD, target dir: $(pwd)/build/" version_header test -d build || mkdir build - ${ACLI_CMD} --no-color compile -v -b ${BOARD} "Arduino/CanGrow/CanGrow.ino" --output-dir build/ || exit 1 + ${ACLI_CMD} --no-color compile -b ${BOARD} "Arduino/CanGrow/CanGrow.ino" --output-dir build/ || exit 1 cp build/CanGrow.ino.bin build/CanGrow_v${VER}_${BUILD}.bin ;; u|upload)