boards/sim: Update usrsock related stuff in README.txt

follow up https://github.com/apache/nuttx/pull/8022

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-01-11 23:01:15 +08:00 committed by Petro Karashchenko
parent 695f42f8d2
commit 03c572c372
1 changed files with 2 additions and 5 deletions

View File

@ -1078,7 +1078,7 @@ rpserver
drivers/net/rpmsgdrv.c
drivers/usrsock/usrsock_rpmsg.h
drivers/usrsock/usrsock_rpmsg.c
$(CONFIG_APPS_DIR)/system/usrsock_rpmsg/usrsock_rpmsg_server.c
drivers/usrsock/usrsock_rpmsg_server.c
Describe:
1)Rpmsg UsrSock client
2)Rpmsg UsrSock server
@ -1156,17 +1156,14 @@ rpserver
821.72
4>Rpmsg UsrSock:
Start the usrsock server on rpserver:
"rptun proxy" kernel thread is running:
server> usrsock &
usrsock [12:80]
server> ps
PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACK COMMAND
0 0 0 FIFO Kthread N-- Ready 00000000 000000 Idle Task
1 1 224 FIFO Kthread --- Waiting Signal 00000000 002032 hpwork
2 1 100 FIFO Task --- Running 00000000 004080 init
3 3 224 FIFO Kthread --- Waiting Signal 00000002 002000 rptun proxy 0x56634fa0
12 3 80 FIFO Task --- Waiting Semaphore 00000000 002032 usrsock
send ICMP ping to network server via rpmsg usrsock: