You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
Import("env")
|
|
|
|
|
|
|
|
import time
|
|
|
|
|
|
|
|
ver = int( time.time() )
|
|
|
|
|
|
|
|
f = open("version.txt", "w")
|
|
|
|
f.write(str(ver))
|
|
|
|
f.close()
|
|
|
|
|
|
|
|
env.Append(CPPDEFINES=[
|
|
|
|
("FW_VERSION", ver)
|
|
|
|
])
|