Merge main into ota-admin: tools split, WITH_RX_POWERSAVING
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
81d7f600d8
53 files changed
+7121
-64
No files matched your search
@@ -1,3 +1,4 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
# CUSTOM (TeTeHacko): real version and build timestamp for the `ver` command.
|
||||
#
|
||||
# WIRE THIS INTO EVERY ENV WE FLASH. Without it the node reports the fallback
|
||||
@@ -18,6 +19,15 @@
|
||||
# Import("env") has to come first, hence the file-wide ruff exemption.
|
||||
# ruff: noqa: F821, E402
|
||||
# mypy: disable-error-code="name-defined"
|
||||
if __name__ == "__main__": # run by hand (--help): the header above, nothing else
|
||||
with open(__file__) as _f:
|
||||
for _ln in _f:
|
||||
if not _ln.startswith("#"):
|
||||
break
|
||||
if "SPDX-License-Identifier" not in _ln:
|
||||
print(_ln[2:].rstrip() if _ln.startswith("# ") else "")
|
||||
raise SystemExit(0)
|
||||
|
||||
Import("env")
|
||||
import re
|
||||
import subprocess
|
||||
|
||||
Reference in new issue
Block a user