From 764cf45b80b8a78c705d1a330ecc9d85b4b2e276 Mon Sep 17 00:00:00 2001 From: Marcus Date: Fri, 18 Oct 2024 00:58:28 +0200 Subject: [PATCH] move cangrow.sh and arduino-cli.yml to Arduino/Cangrow/ --- arduino-cli.yml => Arduino/CanGrow/arduino-cli.yml | 0 cangrow.sh => Arduino/CanGrow/cangrow.sh | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename arduino-cli.yml => Arduino/CanGrow/arduino-cli.yml (100%) rename cangrow.sh => Arduino/CanGrow/cangrow.sh (93%) diff --git a/arduino-cli.yml b/Arduino/CanGrow/arduino-cli.yml similarity index 100% rename from arduino-cli.yml rename to Arduino/CanGrow/arduino-cli.yml diff --git a/cangrow.sh b/Arduino/CanGrow/cangrow.sh similarity index 93% rename from cangrow.sh rename to Arduino/CanGrow/cangrow.sh index dc12ef9..fe2f025 100755 --- a/cangrow.sh +++ b/Arduino/CanGrow/cangrow.sh @@ -35,7 +35,7 @@ function version_header() { const char* CanGrowVer = \"${VER}\"; const char* CanGrowBuild = \"${BUILD}\"; -" > Arduino/CanGrow/include/CanGrow_Version.h +" > include/CanGrow_Version.h } test -z $1 && help @@ -101,14 +101,14 @@ case $1 in echo ":: Building firmware $VER $BUILD, target dir: $(pwd)/build/" version_header test -d build || mkdir build - ${ACLI_CMD} --no-color compile -b ${BOARD} "Arduino/CanGrow/CanGrow.ino" --output-dir build/ || exit 1 + ${ACLI_CMD} --no-color compile -b ${BOARD} "CanGrow.ino" --output-dir build/ || exit 1 cp build/CanGrow.ino.bin build/CanGrow_v${VER}_${BUILD}.bin ;; u|upload) check_acli echo ":: Build and upload firmware $VER $BUILD to $TTY" version_header - ${ACLI_CMD} --no-color compile -b ${BOARD} -u -p $TTY "Arduino/CanGrow/CanGrow.ino" + ${ACLI_CMD} --no-color compile -b ${BOARD} -u -p $TTY "CanGrow.ino" ;; w|webupload) echo ":: Uploading to $IP"