Skip to content

Commit

Permalink
Show which version is compiled and flashed.
Browse files Browse the repository at this point in the history
  • Loading branch information
CelliesProjects committed May 17, 2018
1 parent 569da83 commit 440aa51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compile.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
echo Compiling aquacontrol32 version: $(git describe --tags --always)
echo
echo "const char * sketchVersion = \"$(git describe --tags --always)\";" > gitTagVersion.h
~/arduino-1.8.5/arduino --verify test.ino
rm gitTagVersion.h
2 changes: 2 additions & 0 deletions flash.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
echo Compiling and flashing aquacontrol32 version: $(git describe --tags --always)
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
rm gitTagVersion.h

0 comments on commit 440aa51

Please sign in to comment.