embassy/embassy-rp
pennae 3c5f011245 rp: add generic dormant-sleep functionality
this is "generic" in that it doesn't require the user to set up anything
specific to go to dormant sleep, unlike the C sdk which requires clock
sources to be configured explicitly and doesn't much care about PLLs. we
will instead take a snapshot of the current clock configuration, switch
to a known clock source (very slow rosc, in this case), go to sleep, and
on wakeup undo everything we've done (ensuring stability of PLLs and
such).

tested locally, but adding tests to HIL seems infeasible. we'd need at
least another pico or extensive modifications to teleprobe since
dormant-sleep breaks SWD (except to rescue-dp), neither of which is
feasible at this point. if we *did* want to add tests we should check
for both rtc wakeups (with an external rtc clock source) and gpio wakeups.
2023-08-05 00:57:29 +02:00
..
src rp: add generic dormant-sleep functionality 2023-08-05 00:57:29 +02:00
build.rs Fix all warnings on embassy-rp and embassy-rp-examples and 2021-05-20 08:32:26 +10:00
Cargo.toml rp: make QSPI gpio support optional 2023-07-31 19:13:10 +02:00
funcsel.txt rp: add initial version 2021-03-29 21:35:25 +02:00
link-rp.x.in rp: add precompiled boot2 to avoid depending on gcc 2021-03-29 22:28:36 +02:00