From bacb48a9185d41ae06098df4c7463f3a79b0c62b Mon Sep 17 00:00:00 2001 From: Marcus Date: Sun, 16 Jun 2024 00:04:28 +0200 Subject: [PATCH] cangrow.sh add help text --- cangrow.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cangrow.sh b/cangrow.sh index 0edb86f..684dc1c 100755 --- a/cangrow.sh +++ b/cangrow.sh @@ -72,7 +72,7 @@ case $1 in ;; b|build) check_acli - echo "building firmware $VER $BUILD, target dir: $(pwd)/build/" + echo ":: Building firmware $VER $BUILD, target dir: $(pwd)/build/" test -d build || mkdir build echo "/* CanGrow_Version.h gets generated from cangrow.sh */ @@ -84,17 +84,17 @@ const char* CanGrowBuild = \"${BUILD}\"; ;; u|upload) check_acli - echo "uploading to $TTY" + echo ":: Uploading to $TTY" ${ACLI_CMD} --no-color compile -v -b esp8266:esp8266:d1_mini_clone -u -p $TTY "Arduino/CanGrow/CanGrow.ino" ;; w|webupload) - echo "uploading to $IP" + echo ":: Uploading to $IP" curl -v http://$IP/system/applyUpdate -X POST -H 'Content-Type: multipart/form-data' -F "file=@$(pwd)/build/CanGrow.ino.bin" echo ;; m|mon|monitor) check_acli - echo "open monitor $TTY" + echo ":: Open serial monitor $TTY" ${ACLI_CMD} monitor -c baudrate=115200 -p $TTY ;; *)