Exercise 12 works, needs GPS coordinates, Amy SD card not working
This commit is contained in:
parent
c99ce38b57
commit
8047640ea3
7 changed files with 1539 additions and 0 deletions
12
exercises/12_FiveTalk/scripts/set_build_epoch.py
Normal file
12
exercises/12_FiveTalk/scripts/set_build_epoch.py
Normal 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),
|
||||
]
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue