diff --git a/.gitignore b/.gitignore index 9f3cb9c..3ca3b4f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ gitTagVersion.h +temp/ diff --git a/compile.sh b/compile.sh index 178dd86..83510c6 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 --board espressif:esp32:esp32 --verify test.ino +~/arduino-1.8.5/arduino --board espressif:esp32:mhetesp32minikit --verify test.ino --pref custom_DebugLevel=esp32_none --port /dev/ttyUSB0 --pref upload.speed=921600 --pref build.path=temp --preserve-temp-files rm gitTagVersion.h diff --git a/flash.sh b/flash.sh index ea984bb..0c393fe 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 --board espressif:esp32:esp32 --upload test.ino --pref custom_DebugLevel=esp32_none --port /dev/ttyUSB0 --pref upload.speed=921600 +~/arduino-1.8.5/arduino --board espressif:esp32:mhetesp32minikit --upload test.ino --pref custom_DebugLevel=esp32_none --port /dev/ttyUSB0 --pref upload.speed=921600 --preserve-temp-files --pref build.path=temp rm gitTagVersion.h