-
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.
Version number is now generated by git.
Compiling from the Arduino IDE does not work anymore. Use the 'compile.sh' script to verify the sketch. Use the 'flash.sh' script to compile and upload the sketch.
- Loading branch information
1 parent
583cdfe
commit 00f1d3e
Showing
4 changed files
with
13 additions
and
8 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
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
echo -n 'const char * sketchVersion = "' > gitTagVersion.h | ||
git --no-pager describe --tags --always --dirty | tr --delete '\n' >>gitTagVersion.h | ||
echo -n '";' >> 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
echo -n 'const char * sketchVersion = "' > gitTagVersion.h | ||
git --no-pager describe --tags --always --dirty | tr --delete '\n' >>gitTagVersion.h | ||
echo -n '";' >> gitTagVersion.h | ||
~/arduino-1.8.5/arduino --upload test.ino --pref custom_DebugLevel=esp32_none | ||
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