cederom commented on code in PR #18420:
URL: https://github.com/apache/nuttx/pull/18420#discussion_r2835942242


##########
Documentation/platforms/arm/stm32h7/boards/nucleo-h743zi2/index.rst:
##########
@@ -220,40 +232,191 @@ Some highlights:
    nsh> echo "This will stay on the USB drive" > /mnt/sda/afile
    nsh> ls /mnt/sda
    /mnt/sda:
+    GARMIN/
     afile
-   nsh> reboot
-
-   NuttShell (NSH) NuttX-10.0.1
+   nsh> rebootADE
+   telnetd [6:100]
+   
+   NuttShell (NSH)
+   nsh> ls /mnt/lfs
+   /mnt/lfs:
+    .
+    ..
+   nsh> ls /mnt
+   /mnt:
+    lfs/
+   nsh> mount -t vfat /dev/sda /mnt/sda
+   nsh> ls /mnt/sda
+   /mnt/sda:
+    GARMIN/
+    afile
+   nsh> cat /mnt/sda/afile
+   This will stay on the USB drive
+   nsh> buttons
+   nsh: buttons: command not found
+   nsh> ADE
+   ADE
+   telnetd [6:100]
+   
+   NuttShell (NSH)
+   nsh> uname -a
+   NuttX  0.0.0 d147177c62 Feb 20 2026 15:18:50 arm nucleo-h743zi2
+   nsh> ?
+   help usage:  help [-v] [<cmd>]
+   
+       .           cp          expr        mkrd        route       truncate
+       [           cmp         false       mount       set         uname
+       ?           dirname     fdinfo      mv          kill        umount
+       addroute    date        free        nslookup    pkill       unset
+       alias       delroute    help        pidof       sleep       uptime
+       unalias     df          hexdump     printf      usleep      watch
+       arp         dmesg       ifconfig    ps          source      wget
+       basename    echo        irqinfo     pwd         test        xd
+       break       env         ls          reboot      top         wait
+       cat         exec        mkdir       rm          time
+       cd          exit        mkfatfs     rmdir       true
+   
+   Builtin Apps:
+       buttons     getprime    netcat      ping        tc
+       dd          hidkbd      nsh         renew       telnetd
+       fstest      iperf       ostest      sh
+   nsh> ls
+   /:
+    dev/
+    mnt/
+    proc/
+   nsh> free
+         total       used       free    maxused    maxfree  nused  nfree name
+        956492     158452     798040     158848     464440     64      5 Umem
+   nsh> irqinfo
+   IRQ HANDLER  ARGUMENT    COUNT    RATE    TIME
+    11 080012f1 00000000       1073   10.277    0
+    15 0800807d 00000000      10440  100.000    1
+    55 080007a1 24000000       1380   13.218    5
+    77 080084cd 00000000         36    0.344    1
+   117 0803c4ed 00000000        206    1.976 21558
+   nsh> ifconfig
+   eth0    Link encap:Ethernet HWaddr ea:63:b9:20:1d:46 at RUNNING mtu 1486
+           inet addr:10.0.0.2 DRaddr:10.0.0.1 Mask:255.255.255.0
+   
+   lo      Link encap:Local Loopback at RUNNING mtu 1518
+           inet addr:127.0.0.1 DRaddr:127.0.0.1 Mask:255.0.0.0
+   
+                IPv4   TCP   UDP  ICMP
+   Received     000d  0000  000d  0000
+   Dropped      0000  0000  0000  0000
+     IPv4        VHL: 0000   Frg: 0000
+     Checksum   0000  0000  0000  ----
+     TCP         ACK: 0000   SYN: 0000
+                 RST: 0000  0000
+     Type       0000  ----  ----  0000
+   Sent         0000  0000  0000  0000
+     Rexmit     ----  0000  ----  ----
+   nsh> renew eth0
+   nsh> ifconfig eth0
+   eth0    Link encap:Ethernet HWaddr ea:63:b9:20:1d:46 at RUNNING mtu 1486
+           inet addr:192.168.3.120 DRaddr:192.168.3.1 Mask:255.255.255.0
+   
+   nsh> ping www.google.com
+   PING 142.250.217.132 56 bytes of data
+   56 bytes from 142.250.217.132: icmp_seq=0 time=20.0 ms
+   56 bytes from 142.250.217.132: icmp_seq=1 time=10.0 ms
+   56 bytes from 142.250.217.132: icmp_seq=2 time=10.0 ms
+   56 bytes from 142.250.217.132: icmp_seq=3 time=10.0 ms
+   56 bytes from 142.250.217.132: icmp_seq=4 time=10.0 ms
+   56 bytes from 142.250.217.132: icmp_seq=5 time=20.0 ms
+   56 bytes from 142.250.217.132: icmp_seq=6 time=10.0 ms
+   56 bytes from 142.250.217.132: icmp_seq=7 time=10.0 ms
+   56 bytes from 142.250.217.132: icmp_seq=8 time=10.0 ms
+   56 bytes from 142.250.217.132: icmp_seq=9 time=10.0 ms
+   10 packets transmitted, 10 received, 0% packet loss, time 10100 ms
+   rtt min/avg/max/mdev = 10.000/12.000/20.000/4.000 ms
+   nsh> ls /dev
+   /dev:
+    buttons
+    console
+    kmsg
+    null
+    rammtd
+    sda
+    telnet
+    ttyS0
+    zero
+   nsh> ls /mnt
+   /mnt:
+    lfs/
+   nsh> echo "This will go away on reboot." > /mnt/lfs/afile
+   nsh> cat /mnt/lfs/afile
+   This will go away on reboot.
    nsh> mount -t vfat /dev/sda /mnt/sda
+   nsh> echo "This will stay on the USB drive" > /mnt/sda/afile
+   nsh> ls /mnt/sda
+   /mnt/sda:
+    GARMIN/
+    afile
+   nsh> rebootADE
+   telnetd [6:100]
+   
+   NuttShell (NSH)
    nsh> ls /mnt/lfs
    /mnt/lfs:
     .
     ..
+   nsh> ls /mnt
+   /mnt:
+    lfs/
+   nsh> mount -t vfat /dev/sda /mnt/sda
    nsh> ls /mnt/sda
    /mnt/sda:
+    GARMIN/
     afile
    nsh> cat /mnt/sda/afile
    This will stay on the USB drive
+   nsh> buttons
+   buttons_main: Starting the button_daemon
+   buttons_main: button_daemon started
+   button_daemon: Running
+   button_daemon: Opening /dev/buttons
+   button_daemon: Supported BUTTONs 0x01
+   nsh> B1 was pressed
+   B1 was released
+   B1 was pressed
+   B1 was released
+   
+   nsh> ps
+     TID   PID  PPID PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK       
     STACK    USED FILLED    CPU COMMAND
+       0     0     0   0 FIFO     Kthread   - Ready              
0000000000000000 0001000 0000544  54.4%  100.0% Idle_Task
+       1     0     0 224 RR       Kthread   - Waiting  Semaphore 
0000000000000000 0001976 0000592  29.9%   0.0% hpwork 0x24000120 0x24000168
+       2     0     0 100 RR       Kthread   - Waiting  Semaphore 
0000000000000000 0001976 0000592  29.9%   0.0% lpwork 0x240000bc 0x24000104
+       3     3     0 100 RR       Task      - Running            
0000000000000000 0004048 0001768  43.6%   0.0% nsh_main
+       4     0     0 100 RR       Kthread   - Waiting  Semaphore 
0000000000000000 0002008 0000856  42.6%   0.0% usbhost
+       5     0     0  50 RR       Kthread   - Waiting  Signal    
0000000000000000 0004048 0000816  20.1%   0.0% USB_Monitor
+       6     6     0 100 RR       Task      - Waiting  Semaphore 
0000000000000000 0002008 0000880  43.8%   0.0% telnetd
+       8     8     0 100 RR       Task      - Waiting  Signal    
0000000000000000 0004048 0000712  17.5%   0.0% button_daemon
    nsh>
    ```
 
    ```
-   ❯ telnet 192.168.86.249
-   Trying 192.168.86.249...
-   Connected to 192.168.86.249.
+   peter@legion:~$ telnet 192.168.3.120
+   Trying 192.168.3.120...
+   Connected to 192.168.3.120.
    Escape character is '^]'.
-
-   NuttShell (NSH) NuttX-10.0.1
+   
+   NuttShell (NSH)
    nsh> ps
-     PID PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK   STACK   USED  
FILLED    CPU COMMAND
-       0   0 FIFO     Kthread N-- Ready              00000000 001024 000472  
46.0%  100.0% Idle Task
-       1 224 RR       Kthread --- Waiting  Signal    00000000 002036 000456  
22.3%    0.0% hpwork
-       2 100 RR       Kthread --- Waiting  Signal    00000000 002036 000680  
33.3%    0.0% lpwork
-       3 100 RR       Task    --- Waiting  Semaphore 00000000 004084 001304  
31.9%    0.0% init
-       4 100 RR       Kthread --- Waiting  Semaphore 00000000 002036 000752  
36.9%    0.0% usbhost
-       5  50 RR       Kthread --- Waiting  Signal    00000000 004076 000472  
11.5%    0.0% USB Monitor
-       6 100 RR       Task    --- Waiting  Semaphore 00000000 002012 000648  
32.2%    0.0% Telnet daemon 0x38005600
-       9 100 RR       Kthread --- Waiting  Semaphore 00000000 001004 000448  
44.6%    0.0% telnet_io
-      10 100 RR       Task    --- Running            00000000 002028 001328  
65.4%    0.0% Telnet session
-   nsh>
+   nsh: &ps: command not found

Review Comment:
   okay, but this is irrelevant and should not land in the documentation, we 
just need focused on-point information brief :-)



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