-
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 sensor errors on oled, tft and web interface. Added a url '/api/setdevice/sensorlogging?sensorlogging=true' to control logging during runtime. * Added sensor logging options to the web interface. * Increased size of tftButton::text to 25 chars. * Removed function 'checkAuth' and whitespace. * Show branch in version string if not master. * Simplify code. * Flash and compile script cleaned.
- Loading branch information
1 parent
e326a5e
commit c903297
Showing
12 changed files
with
1,226 additions
and
1,176 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 |
---|---|---|
@@ -1,12 +1,11 @@ | ||
echo Compiling aquacontrol32 version: $(git describe --tags --always) | ||
echo Branch: $(git branch | grep \* | cut -d ' ' -f2) | ||
echo | ||
currentVersion="" | ||
if [ $(git branch | grep \* | cut -d ' ' -f2) == "master" ] | ||
then | ||
echo "const char * sketchVersion = \"$(git describe --tags --always)\";" > gitTagVersion.h | ||
currentVersion=$(git describe --tags --always) | ||
else | ||
echo "const char * sketchVersion = \"$(git describe --tags --always):$(git branch | grep \* | cut -d ' ' -f2)\";" > gitTagVersion.h | ||
currentVersion=$(git branch | grep \* | cut -d ' ' -f2):$(git rev-parse --short HEAD) | ||
fi | ||
echo $(git describe --tags --always):$(git branch | grep \* | cut -d ' ' -f2) | ||
echo "const char * sketchVersion = \"$currentVersion\";" > gitTagVersion.h | ||
echo Compiling aquacontrol32 version: $currentVersion | ||
~/arduino-1.8.9/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 --pref build.partition=default_ffat | ||
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,12 +1,11 @@ | ||
echo Compiling and flashing aquacontrol32 version: $(git describe --tags --always) | ||
echo Branch: $(git branch | grep \* | cut -d ' ' -f2) | ||
echo | ||
currentVersion="" | ||
if [ $(git branch | grep \* | cut -d ' ' -f2) == "master" ] | ||
then | ||
echo "const char * sketchVersion = \"$(git describe --tags --always)\";" > gitTagVersion.h | ||
currentVersion=$(git describe --tags --always) | ||
else | ||
echo "const char * sketchVersion = \"$(git describe --tags --always):$(git branch | grep \* | cut -d ' ' -f2)\";" > gitTagVersion.h | ||
currentVersion=$(git branch | grep \* | cut -d ' ' -f2):$(git rev-parse --short HEAD) | ||
fi | ||
echo $(git describe --tags --always):$(git branch | grep \* | cut -d ' ' -f2) | ||
echo "const char * sketchVersion = \"$currentVersion\";" > gitTagVersion.h | ||
echo Compiling and flashing aquacontrol32 version: $currentVersion | ||
~/arduino-1.8.9/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 --pref build.partition=default_ffat --pref build.flash_freq=80m | ||
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
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
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
Oops, something went wrong.