a9183756-gh / Arduino-CMake-Toolchain

CMake toolchain for all Arduino compatible boards
MIT License
137 stars 40 forks source link

(#35) Set extra.time.local property in SetupBoardToolchain function #36

Closed lslrt closed 4 years ago

lslrt commented 4 years ago

Teensy board.txt file is using extra.time.local to define __rtc_localtime symbol at link time. For Linux, using date +'%s' gives epoch time, use this comand to compute time using subprocess_command.

Signed-off-by: leo sartre leo.sartre@e.email