Add optional $UNIX_TIME variable to build environment

This commit is contained in:
Ivan Kravets
2015-02-15 18:18:11 +02:00
parent 22257e0351
commit c6b79f13c3
2 changed files with 3 additions and 5 deletions
-5
View File
@@ -5,7 +5,6 @@
Builder for Teensy boards
"""
import time
from os.path import isfile, join
from random import randint
@@ -76,10 +75,6 @@ elif env.get("BOARD_OPTIONS", {}).get("build", {}).get("core") == "teensy3":
# "-nostdlib"
],
CPPDEFINES=[
"TIME_T=%d" % time.time()
],
LINKFLAGS=[
"-mcpu=cortex-m4",
"-mthumb",