forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Milestone
Description
Since the RP2040 preserves RAM when in the dormant (deep sleep) state, is it not possible to resume the program after an alarm, without resetting the board? This would make it significantly easier to preserve state while dropping into lower power modes.
@ghubcoder's blog post describes how to recover from the dormant state after an RTC alarm. This was implemented for MicroPython in modpicosleep.c (accompanying blog post).