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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to