-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show which version is compiled and flashed.
- Loading branch information
1 parent
569da83
commit 440aa51
Showing
2 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |