mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
nsh_syscmds: update rptun_ping to rpmsg_ping, add cmd_rpmsg.
To support rpmsg ioctl, add cmd_rpmsg function, and update rptun ping to rpmsg ping. depends on apache/nuttx#11618 Signed-off-by: wangyongrong <wangyongrong@xiaomi.com>
This commit is contained in:
@@ -523,6 +523,12 @@ static const struct cmdmap_s g_cmdmap[] =
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_RPMSG) && !defined(CONFIG_NSH_DISABLE_RPMSG)
|
||||
CMD_MAP("rpmsg", cmd_rpmsg, 2, 7,
|
||||
"<panic|dump|ping> <path|all>"
|
||||
" [value|times length ack sleep]"),
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_RPTUN) && !defined(CONFIG_NSH_DISABLE_RPTUN)
|
||||
CMD_MAP("rptun", cmd_rptun, 2, 7,
|
||||
"<start|stop|reset|panic|dump|ping> <path|all>"
|
||||
|
Reference in New Issue
Block a user