summaryrefslogtreecommitdiff
path: root/docs/library/esp32.rst
diff options
context:
space:
mode:
authorMeir Armon <meirarmon@gmail.com>2025-05-29 07:43:54 +0300
committerDamien George <damien@micropython.org>2025-06-16 11:24:25 +1000
commit42404b5588eb12c22e07283f2e62ee9bb80f1714 (patch)
tree7ed39b93f54ea37fa36fa1141498777db8e6ec11 /docs/library/esp32.rst
parentfa393feaed16eb040c3fa7f57537eca1404f6f70 (diff)
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>
Diffstat (limited to 'docs/library/esp32.rst')
-rw-r--r--docs/library/esp32.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/library/esp32.rst b/docs/library/esp32.rst
index 24831c58d..aeba3d603 100644
--- a/docs/library/esp32.rst
+++ b/docs/library/esp32.rst
@@ -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``