Browse Source
Merge branch 'grindylow:main' into main
pull/157/head
Andreas Schiffler
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
7 additions and
3 deletions
-
tools/esp8266/README.md
-
tools/esp8266/defines.h
-
tools/esp8266/scripts/auto_firmware_version.py
|
|
@ -66,7 +66,7 @@ For now the following inverters should work out of the box: |
|
|
|
- `Ticker` 1.0 |
|
|
|
- `ESP8266HTTPUpdateServer` 1.0 |
|
|
|
- `Time` 1.6.1 |
|
|
|
- `RF24` 1.4.2 |
|
|
|
- `RF24` 1.4.5 |
|
|
|
- `PubSubClient` 2.8 |
|
|
|
- `ArduinoJson` 6.19.4 |
|
|
|
|
|
|
|
|
|
@ -21,7 +21,7 @@ |
|
|
|
//-------------------------------------
|
|
|
|
#define VERSION_MAJOR 0 |
|
|
|
#define VERSION_MINOR 5 |
|
|
|
#define VERSION_PATCH 5 |
|
|
|
#define VERSION_PATCH 6 |
|
|
|
|
|
|
|
|
|
|
|
//-------------------------------------
|
|
|
|
|
|
@ -16,7 +16,11 @@ if missing_pkgs: |
|
|
|
from dulwich import porcelain |
|
|
|
|
|
|
|
def get_firmware_specifier_build_flag(): |
|
|
|
build_version = porcelain.describe('../../') # refers to the repository root dir |
|
|
|
try: |
|
|
|
build_version = porcelain.describe('../../') # refers to the repository root dir |
|
|
|
except: |
|
|
|
build_version = "g0000000" |
|
|
|
|
|
|
|
build_flag = "-D AUTO_GIT_HASH=\\\"" + build_version + "\\\"" |
|
|
|
print ("Firmware Revision: " + build_version) |
|
|
|
return (build_flag) |
|
|
|