You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "eren-terzioglu (via GitHub)" <gi...@apache.org> on 2026/04/27 14:13:19 UTC

[PR] arch/risc-v/espressif: Fix PM wakeup sources [nuttx]

eren-terzioglu opened a new pull request, #18814:
URL: https://github.com/apache/nuttx/pull/18814

   ## Summary
   
   <!-- This field should contain a summary of the changes. It will be pre-filled with the commit's message and descriptions. Adjust it accordingly -->
   
   * Docs/platforms/risc-v: Add autopm docs
   
   Add autopm docs for esp32p4
   
   * boards/risc-v/esp32p4: Add autopm defconfig 
   
   Add autopm defconfig for esp32p4
   
   * arch/risc-v/espressif: Fix PM wakeup sources
   
   Fix PM wakeup sources for esp32[-c6|-h2|-p4]
   
   ## Impact
   <!-- Please fill the following sections with YES/NO and provide a brief explanation -->
   
   Impact on user: Yes, wakeup modes for C6 , H2 and P4 fixed
   <!-- Does it impact user's applications? How? -->
   
   Impact on build: No
   <!-- Does it impact on building NuttX? How? (please describe the required changes on the build system) -->
   
   Impact on hardware: No
   <!-- Does it impact a specific hardware supported by NuttX? -->
   
   Impact on documentation: Related docs added
   <!-- Does it impact the existing documentation? Please provide additional documentation to reflect that -->
   
   Impact on security: No
   <!-- Does it impact NuttX's security? -->
   
   Impact on compatibility: No
   <!-- Does it impact compatibility between previous and current versions? Is this a breaking change? -->
   
   ## Testing
   <!-- Please provide all the testing procedure. Consider that upstream reviewers should be able to reproduce the same testing performed internally -->
   
   `esp32c6-devkitc:pm` used with `CONFIG_PM_GPIO_WAKEUP` and `COFNIG_PM_GPIO_WAKEUP_GPIO2` options
   
   ### Building
   <!-- Provide how to build the test for each SoC being tested -->
   
   ```
   make distclean && ./tools/configure.sh esp32c6-devkitc:pm && kconfig-tweak -e CONFIG_PM_GPIO_WAKEUP && kconfig-tweak -e COFNIG_PM_GPIO_WAKEUP_GPIO2 && make olddefconfig && make -j && make download ESPTOOL_PORT=/dev/ttyUSB0
   ```
   
   ### Running
   <!-- Provide how to run the test for each SoC being tested -->
   
   Commands to run
   
   ```
   pmconfig relax idle
   pmconfig relax normal
   pmconfig relax normal
   ```
   
   ### Results
   <!-- Provide tests' results and runtime logs -->
   
   ```
   nsh> pmconfig relax idle
   nsh> pmconfig relax normal
   nsh> pmconfig relax normal
   up_idlepm: newstate= 2 oldstate=0
   esp_pmstandby: Returned from light-sleep with: GPIO, slept for 259 ms
   esp_pmstandby: GPIO wakeup mask: 4
   up_idlepm: newstate= 0 oldstate=2
   nsh>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] arch/risc-v/espressif: Fix PM wakeup sources [nuttx]

Posted by "simbit18 (via GitHub)" <gi...@apache.org>.
simbit18 merged PR #18814:
URL: https://github.com/apache/nuttx/pull/18814


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org