Closed
Description
Coming around back to this one #7607
On S2/S3 variants, GPIO0 through GPIO21 are valid RTC pins. In this example, asserting pin 5 should wake.
import esp32
import machine
from machine import Pin
o = Pin(5, Pin.IN, pull=Pin.PULL_DOWN)
esp32.wake_on_ext1(pins = (o,), level = esp32.WAKEUP_ANY_HIGH) #multi-pin
machine.deepsleep(10000)
I have a local fix, working on a pull request...