diff --git a/compile.sh b/compile.sh index 7bc87a8..178dd86 100755 --- a/compile.sh +++ b/compile.sh @@ -2,5 +2,5 @@ echo Compiling aquacontrol32 version: $(git describe --tags --always) echo We are on branch: $(git branch | grep \* | cut -d ' ' -f2) echo echo "const char * sketchVersion = \"$(git describe --tags --always)\";" > gitTagVersion.h -~/arduino-1.8.5/arduino --verify test.ino +~/arduino-1.8.5/arduino --board espressif:esp32:esp32 --verify test.ino rm gitTagVersion.h diff --git a/flash.sh b/flash.sh index 375b173..6e0479e 100755 --- a/flash.sh +++ b/flash.sh @@ -2,5 +2,5 @@ echo Compiling and flashing aquacontrol32 version: $(git describe --tags --alway echo We are on branch: $(git branch | grep \* | cut -d ' ' -f2) echo echo "const char * sketchVersion = \"$(git describe --tags --always)\";" > gitTagVersion.h -~/arduino-1.8.5/arduino --upload test.ino --pref custom_DebugLevel=esp32_none --port /dev/ttyUSB0 +~/arduino-1.8.5/arduino --board espressif:esp32:esp32 --upload test.ino --pref custom_DebugLevel=esp32_none --port /dev/ttyUSB0 rm gitTagVersion.h