mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-14 09:26:39 +02:00
Merge branch 'grindylow:main' into main
This commit is contained in:
commit
c9f0e99baf
3 changed files with 7 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue