robert-hh
b70b8ce3e4
mimxrt/machine_rtc: Start RTC at boot and set datetime if not set.
...
Changes in this commit:
- Start the RTC Timer at system boot. Otherwise time.time() will advance
only if an RTC() object was created.
- Set the time to a more recent date than Jan 1, 1970, if not set. That is
2013/10/14, 19:53:11, MicroPython's first commit.
- Compensate an underflow in in timeutils_seconds_since_2000(), called by
time.time(), if the time is set to a pre-2000 date.
2022-04-11 12:25:23 +10:00
..
2022-04-11 12:24:43 +10:00
2022-03-08 23:11:17 +11:00
2021-12-14 08:07:52 +01:00
2022-03-17 13:11:39 +11:00
2022-04-11 12:25:15 +10:00
2022-04-11 12:25:23 +10:00
2022-03-30 14:12:40 +11:00
2022-03-30 14:12:40 +11:00
2022-03-08 23:11:01 +11:00
2021-12-14 08:07:52 +01:00
2021-09-07 20:45:33 +02:00
2021-05-26 00:12:42 +10:00
2021-05-26 00:12:42 +10:00
2021-06-04 00:51:58 +10:00
2021-10-25 15:50:44 +11:00
2022-01-27 16:53:30 +11:00
2022-03-30 14:12:40 +11:00
2021-07-15 00:12:41 +10:00
2022-03-08 22:30:33 +11:00
2022-03-08 22:30:33 +11:00
2022-04-11 12:25:23 +10:00
2021-09-07 20:45:33 +02:00
2022-03-30 14:12:40 +11:00
2021-06-03 13:03:02 +10:00
2022-03-08 22:30:33 +11:00
2021-10-25 15:43:56 +11:00
2022-03-30 14:12:40 +11:00
2022-03-30 14:12:40 +11:00
2021-12-14 08:07:52 +01:00
2021-10-22 08:23:24 +02:00
2022-03-30 14:12:40 +11:00
2022-04-11 12:25:23 +10:00
2021-10-25 23:49:28 +11:00
2021-06-01 23:42:57 +10:00
2022-03-09 10:03:23 +11:00
2022-04-11 12:25:23 +10:00
2022-03-30 14:12:40 +11:00
2022-03-08 23:08:44 +11:00
2021-12-14 08:07:52 +01:00
2021-10-25 15:14:26 +11:00
2021-12-14 08:07:52 +01:00
2021-10-25 15:14:26 +11:00
2021-10-25 15:14:26 +11:00
2022-03-08 22:30:33 +11:00
2022-03-08 22:30:33 +11:00
2020-03-11 15:34:13 +11:00
2021-10-25 23:52:08 +11:00
2022-03-30 14:12:40 +11:00
2021-09-07 20:45:33 +02:00
2021-10-25 15:14:26 +11:00
2021-10-25 15:14:26 +11:00
2021-12-14 08:07:52 +01:00
2021-05-18 22:36:32 +10:00
2021-02-12 12:50:36 +11:00
2022-01-27 17:05:34 +11:00