Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5151

General • Re: Possible to keep RTC time set after soft reboot?

$
0
0
It seems O.K. to use these watchdog scratches for now, but is there any guarantee that some future SDK will not allocate a few more?
Hard to say. I thought writing to Flash immediately after Binary End would be safe but then the Pico W came along with code which does exactly that.

Unless there is an explicit guarantee not to use those registers there is no guarantee. There's also the question as to whether any future RP2 chip will change things, and something third-party might choose to use them.

Statistics: Posted by hippy — Sat Dec 23, 2023 10:55 pm



Viewing all articles
Browse latest Browse all 5151

Trending Articles