esp-hal icon indicating copy to clipboard operation
esp-hal copied to clipboard

Light-/deep-sleep support for ESP32-C6

Open jessebraham opened this issue 2 years ago • 2 comments

This will serve as a tracking issue for light-/deep-sleep support for the ESP32-C6.

Work in this area is already underway:

  • [x] https://github.com/esp-rs/esp-hal/pull/974
  • [x] https://github.com/esp-rs/esp-hal/pull/918
  • [ ] Wakeup sources other than EXT1
  • [ ] Various system state save/restore for light sleep

Please feel free to use this issue for any related discussion. I will add relevant pull requests above as they are opened.

jessebraham avatar Dec 14 '23 16:12 jessebraham

#918 has been merged. I know this isn't feature-complete yet, @bugadani are you able to summarize what's left to do? Or should we just close this issue now?

jessebraham avatar Jan 03 '24 15:01 jessebraham

There are two main areas that I ignored so far:

  • wakeup sources other than EXT1
  • various system state save/restore for light sleep

bugadani avatar Jan 03 '24 15:01 bugadani

We now have working basic light-sleep and a few more wakeup-sources. I think for remaining features we should have separate issues as needed instead of keeping this issue open forever

bjoernQ avatar Jul 01 '24 12:07 bjoernQ

I suggest closing this issue and creating new issues as needed for retaining CPU state etc. when we see a need for it. Feel free to re-open if you disagree

bjoernQ avatar Jul 04 '24 07:07 bjoernQ