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 2025/11/28 11:53:19 UTC
[PR] arch/risc-v/esp32[-c3|-c6|-h2]: Add PM support [nuttx]
eren-terzioglu opened a new pull request, #17398:
URL: https://github.com/apache/nuttx/pull/17398
## 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-->
* Documentation/risc-v/esp32\[-c3|-c6|-h2\]: Add PM docs
Add PM doc support for esp32\[-c3|-c6|-h2\]
* boards/risc-v/esp32\[-c3|-c6|-h2\]: Add PM board support
Add PM board support for esp32\[-c3|-c6|-h2\]
* arch/risc-v/esp32\[-c3|-c6|-h2\]: Add PM support
Add PM support for esp32\[-c3|-c6|-h2\]
## Impact
<!--Please fill the following sections with YES/NO and provide a brief explanation-->
Impact on user: Yes, users can use light sleep
<!--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: PM mode supported for esp32c3 esp32c6 and esp32h2
<!--Does it impact a specific hardware supported by NuttX?-->
Impact on documentation: Yes, newly added config 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-->
Used configs:
```
esp32c3-generic:pm
esp32c6-devkitc:pm
esp32h2-devkit:pm
```
### Building
<!--Provide how to build the test for each SoC being tested-->
Command to build:
```
make -j distclean && ./tools/configure.sh esp32c6-devkitc:pm && make -j && make download ESPTOOL_PORT=/dev/ttyUSB0 ESPTOOL_BAUD=921600 ESPTOOL_BINDIR=./
```
### Running
<!--Provide how to run the test for each SoC being tested-->
To let device into light-sleep mode, these commands applied:
```
nsh> pmconfig relax idle
nsh> pmconfig relax normal
nsh> pmconfig relax normal
```
### Results
<!--Provide tests' results and runtime logs-->
After these commands applied, device will stop responding to `nsh` and after a while it will start responding.
--
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/esp32[-c3|-c6|-h2]: Add PM support [nuttx]
Posted by "eren-terzioglu (via GitHub)" <gi...@apache.org>.
eren-terzioglu closed pull request #17398: arch/risc-v/esp32[-c3|-c6|-h2]: Add PM support
URL: https://github.com/apache/nuttx/pull/17398
--
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/esp32[-c3|-c6|-h2]: Add PM support [nuttx]
Posted by "eren-terzioglu (via GitHub)" <gi...@apache.org>.
eren-terzioglu commented on PR #17398:
URL: https://github.com/apache/nuttx/pull/17398#issuecomment-3591508662
Seems https://github.com/apache/nuttx/pull/17399 got already merged. No need to merge this (that one includes this too). Closing.
--
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/esp32[-c3|-c6|-h2]: Add PM support [nuttx]
Posted by "linguini1 (via GitHub)" <gi...@apache.org>.
linguini1 commented on PR #17398:
URL: https://github.com/apache/nuttx/pull/17398#issuecomment-3589877349
> After these commands applied, device will stop responding to nsh and after a while it will start responding.
Is this the expected behaviour?
--
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/esp32[-c3|-c6|-h2]: Add PM support [nuttx]
Posted by "eren-terzioglu (via GitHub)" <gi...@apache.org>.
eren-terzioglu commented on PR #17398:
URL: https://github.com/apache/nuttx/pull/17398#issuecomment-3591509166
> > After these commands applied, device will stop responding to nsh and after a while it will start responding.
>
> Is this the expected behaviour?
For the clearification, yes it is an expected behaviour because light sleep let uart sleep too (in default state, otherwise it is working if uart wakeup enabled).
--
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