From e7bbcd4d9bae43edc4517f9ca71f6d01b4c4c51d Mon Sep 17 00:00:00 2001 From: Marcus Date: Mon, 9 Dec 2024 01:31:14 +0100 Subject: [PATCH] cangrow.sh - remove old CanGrow_Version.h --- cangrow.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cangrow.sh b/cangrow.sh index 73a3eeb..741d4a9 100755 --- a/cangrow.sh +++ b/cangrow.sh @@ -74,11 +74,6 @@ case $1 in check_acli echo ":: Building firmware $VER $BUILD, target dir: $(pwd)/build/" test -d build || mkdir build - echo "/* CanGrow_Version.h gets generated from cangrow.sh */ - -const char* CanGrowVer = \"${VER}\"; -const char* CanGrowBuild = \"${BUILD}\"; -" > Arduino/CanGrow/CanGrow_Version.h ${ACLI_CMD} --no-color compile -b ${BOARD} "Arduino/CanGrow/CanGrow.ino" --build-property "build.extra_flags=-DCANGROW_VER=\"${VER}\" -DCANGROW_BUILD=\"${BUILD}\"" --output-dir build/ || exit 1 cp build/CanGrow.ino.bin build/CanGrow_v${VER}_${BUILD}.bin ;;