Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
72bfc7b
rak4631: declare the RAK12002 RTC for the boot-time probe
ptr727 Oct 3, 2026
36d5ca9
rtc: never adopt a candidate whose time block reads all 0xFF
ptr727 Oct 3, 2026
ab6cb7c
rtc: enable the RAK12002's backup switchover and keep it set
ptr727 Oct 3, 2026
778a9e3
rtc: say what the all-0xFF guard costs a real RTC
ptr727 Oct 3, 2026
cd9a0bb
rtc: compare against EEPROM, verify, and check the chip before RV3028…
ptr727 Oct 3, 2026
6724da5
rtc: do not adopt a non-RV3028 at an RV3028 descriptor; config 35h-37…
ptr727 Oct 3, 2026
d59f98d
rtc: re-probe a skipped all-0xFF candidate; tighten config triplets
ptr727 Oct 3, 2026
9d52ff4
rtc: verify the commit against EEPROM, re-probe once, state the DSM c…
ptr727 Oct 3, 2026
9e9452f
rtc: do not spend the re-probe in the call that made the first probe
ptr727 Oct 3, 2026
d2615c3
rtc: state the probe's EEPROM write and re-probe in the header contract
ptr727 Oct 4, 2026
041ec79
rak4631: keep the RV3028's FEDE bit set
ptr727 Oct 4, 2026
7b6a82a
rtc: disable backup switchover while touching the RV3028's EEPROM
ptr727 Oct 4, 2026
46bfd7c
rtc: retry what a failed config step left off, and say so
ptr727 Oct 4, 2026
e5a8d0a
rtc: re-run an incomplete RV3028 config step instead of a saved 37h
ptr727 Oct 4, 2026
cd5b5e3
rtc: write the configured 37h on a failed step, cap its re-runs
ptr727 Oct 4, 2026
4ce81ba
rtc: close #35's open list, matching MeshCore's RV3028 store
ptr727 Oct 4, 2026
334d9f7
rtc: adopt an RV3028 unless both reads agree; name a stuck EERD
ptr727 Oct 4, 2026
26c5e33
rtc: take no time from a garbled RV3028 read; correct two contracts
ptr727 Oct 4, 2026
f420cff
Merge dev (#99 merged) into the RAK12002 RTC work for #98's rebase
ptr727 Oct 5, 2026
b489046
rtc: bracket the RV3028 time write too; no store after a switchover
ptr727 Oct 5, 2026
7a10074
rtc: repeat an unconfirmed RV3028 time write; retry a skipped store
ptr727 Oct 5, 2026
3f51c58
rtc: year-marker RV3028 time write; bound its repeat; shared EEbusy rule
ptr727 Oct 5, 2026
b574fdf
rtc: run the RV3028 RAM fallback outside LOG_WRN
ptr727 Oct 5, 2026
63e10d2
rtc: correct four RV3028 contract claims; keep #99's header lines
ptr727 Oct 5, 2026
e0b8885
rtc: cut RV3028 comments back to what the code does
ptr727 Oct 5, 2026
a01e6dd
rtc: state the RV3028 cut-write window and config condition exactly
ptr727 Oct 5, 2026
7c75633
rtc: keep two RV3028 contract sentences to what always holds
ptr727 Oct 5, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions zephcore/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -899,12 +899,19 @@ config ZEPHCORE_RTC_AUTODISCOVER
help
Probe I2C RTC chips declared with the "zephcore,rtc-i2c" binding
(DS3231 / PCF8563 / RV3028 / RX8130CE). Boards with a battery/cap-
backed RTC opt in by including boards/common/rtc-i2c.dtsi; if a chip
holds a valid time it is restored at boot — shown tagged "L" until the
next external sync. On every GPS/app/CLI sync the time is written back
so it survives power-off. Compact raw-I2C reader (no Zephyr RTC
subsystem). Safe to leave on: a board with no rtc-i2c.dtsi include has
no RTC nodes and compiles to nothing.
backed RTC opt in by including boards/common/rtc-i2c.dtsi or
declaring their own node; if a chip holds a valid time it is
restored at boot — shown tagged "L" until the next external sync.
On every GPS/app/CLI sync the time is written back so it survives
power-off. A node with rv3028-eeprom-config has its time read and
written with the chip's backup switch flag cleared before and
checked after, and, when its chip is the one adopted, a read
identifies it, and a checked time read just before the store shows
no backup switchover, has that configuration committed to the
chip's EEPROM when it differs, with backup switchover held off
while the EEPROM is accessed. Compact raw-I2C reader (no Zephyr RTC
subsystem). Safe to leave on: a board that declares no
zephcore,rtc-i2c node compiles to nothing.

menu "GPS Configuration"

Expand Down
Loading
Loading