diff options
| author | Meir Armon <meirarmon@gmail.com> | 2025-05-30 17:22:53 +0300 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-06-16 14:18:02 +1000 |
| commit | 171d751242ba7c9fd32b86852a1383bc23c6fda1 (patch) | |
| tree | a894720a287650f609d3cfb3c982cc4974b8332b /docs | |
| parent | 4697a06fdb9d2639975e049463c2a3d776238aec (diff) | |
esp32/modesp32: Make wake_on_ext1 available only on SoCs supporting it.
The `esp32.wake_on_ext1()` method should only be available on boards that
have SOC_PM_SUPPORT_EXT1_WAKEUP=y. And update docs to reflect this.
Signed-off-by: Meir Armon <meirarmon@gmail.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/library/esp32.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/library/esp32.rst b/docs/library/esp32.rst index b4f423b5f..4be6dc267 100644 --- a/docs/library/esp32.rst +++ b/docs/library/esp32.rst @@ -41,6 +41,8 @@ Functions or a tuple/list of valid Pin objects. *level* should be ``esp32.WAKEUP_ALL_LOW`` or ``esp32.WAKEUP_ANY_HIGH``. + .. note:: This is only available for boards that have ext1 support. + .. function:: gpio_deep_sleep_hold(enable) Configure whether non-RTC GPIO pin configuration is retained during |
