JianyuWang0623 opened a new pull request, #22301:
URL: https://github.com/apache/nuttx/pull/22301

   ## Summary
   
   Document the new NXInit `wait` command in the NXInit application page.
   
   ## Impact
   
   Documentation only. The new "Waiting for a File" section gives the syntax of 
the command, the 5-second default timeout, that reaching the timeout only warns 
and continues, and an example of waiting for a device node.
   
   ## Testing
   
   Build Host: Linux x86_64, Sphinx 8.1.3. Target: `Documentation/` of nuttx 
master `f284e6d7a75` with this branch on top. Run: `cd Documentation && make 
html`.
   
   ```
   build succeeded.
   ```
   
   The rendered section of the page:
   
   ```
   Waiting for a File
   ------------------
   
       wait <path> [<timeout>]
   
   wait checks for the existence of <path> with stat() every 10 ms
   and returns when the file is found. <timeout> is in seconds and may
   be fractional; it defaults to 5. When the timeout is reached, the
   command only warns and continues, so the next command still runs.
   
       on boot
           start foo_driver
           wait /dev/xxx 2
           start bar
   ```
   


-- 
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