esp32/modesp32: Make wake_on_ulp available only on SoCs that support it.

The `esp32.wake_on_ulp()` method should only be available on boards that
have SOC_ULP_SUPPORTED=y.  Update docs to reflect this.

Signed-off-by: Meir Armon <meirarmon@gmail.com>
This commit is contained in:
Meir Armon
2025-05-29 07:43:54 +03:00
committed by Damien George
parent fa393feaed
commit 42404b5588
3 changed files with 8 additions and 0 deletions

View File

@@ -23,6 +23,8 @@ Functions
Configure whether or not the Ultra-Low-Power co-processor can wake the
device from sleep. *wake* should be a boolean value.
.. note:: This is only available for boards that have ULP coprocessor support.
.. function:: wake_on_ext0(pin, level)
Configure how EXT0 wakes the device from sleep. *pin* can be ``None``