get rid of CanGrow_Version.h
This commit is contained in:
parent
f7224a1588
commit
16074669c3
4 changed files with 6 additions and 7 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,5 +3,4 @@ KiCad/CanGrow/CanGrow.kicad_sch-bak
|
|||
KiCad/CanGrow/fp-info-cache
|
||||
KiCad/CanGrow/gerber/*.zip
|
||||
Arduino/CanGrow/CanGrow.geany
|
||||
Arduino/CanGrow/include/CanGrow_Version.h
|
||||
build/
|
||||
|
|
|
@ -91,7 +91,7 @@ void setup() {
|
|||
// Write a line before doing serious output, because before there is some garbage in serial
|
||||
// whats get the cursor somewhere over the place
|
||||
Serial.println("420");
|
||||
Serial.printf(".:: CanGrow firmware v%s build %s starting ::.\n", CanGrowVer, CanGrowBuild);
|
||||
Serial.printf(".:: CanGrow firmware v%s build %s starting ::.\n", CANGROW_VER, CANGROW_BUILD);
|
||||
|
||||
Serial.print("II To format LittleFS, pull GPIO ");
|
||||
Serial.print(PinWIPE);
|
||||
|
|
|
@ -99,16 +99,16 @@ case $1 in
|
|||
b|build)
|
||||
check_acli
|
||||
echo ":: Building firmware $VER $BUILD, target dir: $(pwd)/build/"
|
||||
version_header
|
||||
#version_header
|
||||
test -d build || mkdir build
|
||||
${ACLI_CMD} --no-color compile -b ${BOARD} "CanGrow.ino" --output-dir build/ || exit 1
|
||||
${ACLI_CMD} --no-color compile -b ${BOARD} --build-property "build.extra_flags=-DCANGROW_VER=\"${VER}\" -DCANGROW_BUILD=\"${BUILD}\"" "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 "CanGrow.ino"
|
||||
#version_header
|
||||
${ACLI_CMD} --no-color compile -b ${BOARD} --build-property "build.extra_flags=-DCANGROW_VER=\"${VER}\" -DCANGROW_BUILD=\"${BUILD}\"" ${ACLI_BUILD_OPTS} -u -p $TTY "CanGrow.ino"
|
||||
;;
|
||||
w|webupload)
|
||||
echo ":: Uploading to $IP"
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "CanGrow_Version.h"
|
||||
//#include "CanGrow_Version.h"
|
||||
|
||||
struct Config_WiFi {
|
||||
char ssid[32];
|
||||
|
|
Loading…
Reference in a new issue