JianyuWang0623 opened a new pull request, #22163: URL: https://github.com/apache/nuttx/pull/22163
## Summary Describe the `pmconfig` command of NXInit: its syntax, the state and domain arguments, and that the query form of the NSH command is not implemented. Add `pmconfig` to the list of built-in commands with its `CONFIG_PM` gate. ## Impact Documentation only. ## Testing Build Host: Ubuntu 22.04.5 LTS, Python 3.10.12, Sphinx 6.2.1 Target: `nuttx/Documentation` HTML build ``` $ cd Documentation && make html dumping search index in English (code: en)... done dumping object inventory... done build succeeded. The HTML pages are in _build/html. ``` The rendered page, `_build/html/applications/system/nxinit/index.html` (text of the rendered "Setting Power States" section): ``` Setting Power States pmconfig stay|relax <state> [<domain>] pmconfig has the same syntax as the NSH command: stay requests to keep the power state of the domain at or above <state>, and relax removes the request. <state> is normal, idle, standby or sleep, and <domain> is a PM activity domain number (0 to CONFIG_PM_NDOMAINS - 1) and defaults to 0. The NSH command without arguments dumps the PM statistics; NXInit does not have that form, which init does not need. With CONFIG_PM disabled, NXInit has no pmconfig command. ``` -- 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]
