For LilyGo

This commit is contained in:
John Poole 2026-02-19 10:55:50 -08:00
commit 61cf7e5191
7 changed files with 1114 additions and 0 deletions

View file

@ -0,0 +1,12 @@
import time
Import("env")
epoch = int(time.time())
utc_tag = time.strftime("%Y%m%d_%H%M%S_z", time.gmtime(epoch))
env.Append(
CPPDEFINES=[
("FW_BUILD_EPOCH", str(epoch)),
("FW_BUILD_UTC", '\\"%s\\"' % utc_tag),
]
)