esp32c3 deepsleep with wake up on gpio #18391
-
|
I wanted to use deepsleep with wake up on gpio pin with esp32c3 but could not find wake_on_ext0() in esp32 module in the latest micropython (master branch). It was there before (micropython 1.2.23) and it should be supported by the hardware (https://docs.espressif.com/projects/esp-idf/en/stable/esp32c3/api-reference/system/sleep_modes.html). Does anybody know why it has been removed? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Please see #17518 for an implementation of wake on GPIO. If you could test it and report back that'd be great! I think - though am not sure! - that the reason that it stopped working in the past was due to a change in the Espressif IDF - so the previous implementation no longer worked with the newer IDF version we were moving toward. |
Beta Was this translation helpful? Give feedback.
Please see #17518 for an implementation of wake on GPIO. If you could test it and report back that'd be great!
I think - though am not sure! - that the reason that it stopped working in the past was due to a change in the Espressif IDF - so the previous implementation no longer worked with the newer IDF version we were moving toward.