circuitpython/ports/nrf/common-hal
Sean Cross 83680c41db nrf: rtc: persist rtc offset across reboots
Store the RTC value in the .uninitialized section, but make sure to
flank it with some known values.  That way we can determine if the RTC
value has been initialized, or if it's random uninitialized garbage.

As part of this, add a `common_hal_rtc_init()` routine to determine if
the value is correct, or reset it to 0 if it is not valid.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-18 11:52:27 +08:00
..
_bleio address review comments 2020-05-04 19:51:08 -04:00
analogio new pin validation routines; don't use mp_const_none if NULL will do 2020-02-28 23:43:04 -05:00
audiobusio Clear the pending IRQ in the NVIC as well. 2020-03-13 11:16:38 -07:00
audiopwmio Clear the pending IRQ in the NVIC as well. 2020-03-13 11:16:38 -07:00
board Remove nRF52832 support 2018-12-30 22:49:20 -05:00
busio make translate again 2020-05-04 17:26:59 -04:00
digitalio new pin validation routines; don't use mp_const_none if NULL will do 2020-02-28 23:43:04 -05:00
displayio First try at lowering the power consumption 2020-03-13 11:12:30 -07:00
microcontroller nrf: add support for nrf52833 2020-04-21 12:29:56 +08:00
neopixel_write Fix autoreload, neopixel, monotonic_ns and sleep w/o SD 2020-03-13 11:12:31 -07:00
nvm wip 2020-01-03 10:24:07 -05:00
os os.urandom: remove unneeded sleep 2020-01-08 16:48:17 -06:00
pulseio Merge remote-tracking branch 'adafruit/master' into lower_power 2020-04-14 17:14:44 -07:00
rgbmatrix RGBMatrix: finish renaming from Protomatter 2020-04-17 18:44:07 -05:00
rotaryio Change pin mode to pullup for adafruit/circuitpython#1045 2019-02-07 09:47:56 +11:00
rtc nrf: rtc: persist rtc offset across reboots 2020-05-18 11:52:27 +08:00
supervisor replacing change to input() with separate method to check for USB Serial input 2018-10-09 18:37:52 -04:00