From 61b0fd15fafe376c3f150662b772a1afdd0bd2f6 Mon Sep 17 00:00:00 2001 From: Eren Terzioglu Date: Fri, 17 Apr 2026 12:25:40 +0200 Subject: [PATCH] Docs/platforms/risc-v: Add ULP wakeup modes docs for esp32[-c6|-p4] Add ULP wakeup modes docs for esp32[-c6|-p4] Signed-off-by: Eren Terzioglu --- Documentation/platforms/risc-v/esp32c6/index.rst | 12 ++++++++++++ Documentation/platforms/risc-v/esp32p4/index.rst | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/Documentation/platforms/risc-v/esp32c6/index.rst b/Documentation/platforms/risc-v/esp32c6/index.rst index cd0de28d744..c221ed0b196 100644 --- a/Documentation/platforms/risc-v/esp32c6/index.rst +++ b/Documentation/platforms/risc-v/esp32c6/index.rst @@ -1099,6 +1099,18 @@ Here is a snippet for reading and writing to a ULP variable named ``var_test`` ( return OK; } +ULP LP-Core Wakeup Configuration +-------------------------------- + +By default, ULP LP-Core is woken up by HP core but other wakeup sources can be selected. + +The available wakeup sources are: + +* ``CONFIG_ESPRESSIF_ULP_WAKEUP_HP_CPU``: Wakeup by HP core +* ``CONFIG_ESPRESSIF_ULP_WAKEUP_LP_TIMER``: Wakeup by LP timer +* ``CONFIG_ESPRESSIF_ULP_WAKEUP_LP_UART``: Wakeup by LP UART activity +* ``CONFIG_ESPRESSIF_ULP_WAKEUP_LP_IO``: Wakeup by LP IO + Debugging ULP LP-Core --------------------- diff --git a/Documentation/platforms/risc-v/esp32p4/index.rst b/Documentation/platforms/risc-v/esp32p4/index.rst index fe92dbaa086..5ad0ae976f5 100644 --- a/Documentation/platforms/risc-v/esp32p4/index.rst +++ b/Documentation/platforms/risc-v/esp32p4/index.rst @@ -677,6 +677,18 @@ prefix (defined by the ``ULP_APP_NAME`` variable in the ULP application Makefile access the binary data (e.g., if ``ULP_APP_NAME`` is ``ulp_test``, the binary variable will be ``ulp_test_bin``) and ``bin_len`` keyword to access its length (e.g., ``ulp_test_bin_len`` for ``ULP_APP_NAME`` is ``ulp_test``). +ULP LP-Core Wakeup Configuration +-------------------------------- + +By default, ULP LP-Core is woken up by HP core but other wakeup sources can be selected. + +The available wakeup sources are: + +* ``CONFIG_ESPRESSIF_ULP_WAKEUP_HP_CPU``: Wakeup by HP core +* ``CONFIG_ESPRESSIF_ULP_WAKEUP_LP_TIMER``: Wakeup by LP timer +* ``CONFIG_ESPRESSIF_ULP_WAKEUP_LP_UART``: Wakeup by LP UART activity +* ``CONFIG_ESPRESSIF_ULP_WAKEUP_LP_IO``: Wakeup by LP IO + Accessing the ULP LP-Core Program Variables -------------------------------------------