disabled verbose compile output
This commit is contained in:
parent
c4dea65157
commit
4595bea4e5
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ test -z $IP && IP="192.168.4.20"
|
||||||
test -z $VER && VER="0.2-dev"
|
test -z $VER && VER="0.2-dev"
|
||||||
test -z $BOARD && BOARD="esp8266:esp8266:d1_mini_clone"
|
test -z $BOARD && BOARD="esp8266:esp8266:d1_mini_clone"
|
||||||
#test -z $BOARD && BOARD="esp32:esp32:d1_mini32"
|
#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')"
|
BUILD="$(git rev-parse --short HEAD)-$(echo $BOARD | cut -d : -f1)-$(date '+%Y%m%d%H%M%S')"
|
||||||
|
|
||||||
ACLI="$HOME/.local/bin/arduino-cli"
|
ACLI="$HOME/.local/bin/arduino-cli"
|
||||||
|
@ -100,7 +101,7 @@ case $1 in
|
||||||
echo ":: Building firmware $VER $BUILD, target dir: $(pwd)/build/"
|
echo ":: Building firmware $VER $BUILD, target dir: $(pwd)/build/"
|
||||||
version_header
|
version_header
|
||||||
test -d build || mkdir build
|
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
|
cp build/CanGrow.ino.bin build/CanGrow_v${VER}_${BUILD}.bin
|
||||||
;;
|
;;
|
||||||
u|upload)
|
u|upload)
|
||||||
|
|
Loading…
Reference in a new issue