The new teensy firmware uses __rtc_localtime to initialize the RTC, which is said to be generated by the arduino IDE.
I'm using a makefile. Paul's example makefile has for this the loader instruction "--defsym=__rtc_localtime=0 "
OK zero local time is not very helpful.
Is there any way to generate the right numbers of seconds from system time when running the loader to calculate ?
__DATE__ and __TIME__ is not helpful as this is only set when file, where it is used, is compiled.
and using an external program to estimate the number of seconds is a little bit cumbersome.
I'm using Windows 10.
I'm using a makefile. Paul's example makefile has for this the loader instruction "--defsym=__rtc_localtime=0 "
OK zero local time is not very helpful.
Is there any way to generate the right numbers of seconds from system time when running the loader to calculate ?
__DATE__ and __TIME__ is not helpful as this is only set when file, where it is used, is compiled.
and using an external program to estimate the number of seconds is a little bit cumbersome.
I'm using Windows 10.