Skip to content

Commit

Permalink
Save compiled files in the temp folder.
Browse files Browse the repository at this point in the history
Ignore the temp folder when committing.

Compile and flash for mhetesp32minikit.
  • Loading branch information
CelliesProjects committed Jul 15, 2018
1 parent 1076cd8 commit 4b29c6b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
gitTagVersion.h

temp/
2 changes: 1 addition & 1 deletion compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion flash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4b29c6b

Please sign in to comment.