summaryrefslogtreecommitdiff
path: root/docs/library
diff options
context:
space:
mode:
authorMeir Armon <meirarmon@gmail.com>2025-05-30 14:01:06 +0300
committerDamien George <damien@micropython.org>2025-06-16 14:17:14 +1000
commit4697a06fdb9d2639975e049463c2a3d776238aec (patch)
tree9d0e5b52b00d9d1fac31f93b1bdfc8fefcf4ac9d /docs/library
parentcb315bb8e4d267eddb550ab71d17015eb6b5586c (diff)
esp32/modesp32: Make wake_on_ext0 available only on SoCs supporting it.
The `esp32.wake_on_ext0()` method should only be available on boards that have SOC_PM_SUPPORT_EXT0_WAKEUP=y. And update docs to reflect this. Signed-off-by: Meir Armon <meirarmon@gmail.com>
Diffstat (limited to 'docs/library')
-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 8a849adfc..b4f423b5f 100644
--- a/docs/library/esp32.rst
+++ b/docs/library/esp32.rst
@@ -33,6 +33,8 @@ Functions
or a valid Pin object. *level* should be ``esp32.WAKEUP_ALL_LOW`` or
``esp32.WAKEUP_ANY_HIGH``.
+ .. note:: This is only available for boards that have ext0 support.
+
.. function:: wake_on_ext1(pins, level)
Configure how EXT1 wakes the device from sleep. *pins* can be ``None``