Files
ZephCore/zephcore
Pieter ViljoenandClaude Opus 5.5 9b68b7e1ae rtc: write the RTC time only for years 2000-2099
ZephCore writes the year as two BCD digits with no century, as y % 100.
A time before 2000, accepted by a node whose clock had no time yet, was
stored as a year near the end of the century and restored at the next
boot above the 2025 floor: `time 900000000` (1998) came back as 2098.

rtc_time_block() now fails outside 2000-2099, and zephcore_rtc_save()
then logs and writes no time, for every chip; the chip keeps the time it
has. An RV3028 write retry stops if its run-on time leaves the range.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 07:09:40 -07:00
..
2026-10-06 22:50:14 +02:00
2026-10-06 16:59:23 +02:00
2026-10-06 21:43:35 +02:00
2026-10-02 23:10:09 +02:00
2026-09-18 21:25:19 +02:00
2026-10-04 20:49:11 +02:00
2026-10-04 20:54:33 +02:00
2026-10-06 21:43:35 +02:00
2026-10-06 21:43:35 +02:00
2026-10-06 14:12:30 +02:00