summaryrefslogtreecommitdiff
path: root/platform/zephyr/usb_cmd.c
blob: 402b574128446451695dffc081ba9a51b92279a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <zephyr/shell/shell.h>

#if CONFIG_CHERRYUSB_HOST
#include "usbh_core.h"
static void shell_lsusb_handle(const struct shell *sh, size_t argc, char **argv)
{
    ARG_UNUSED(sh);
    lsusb(argc, argv);
}

SHELL_CMD_REGISTER(lsusb, NULL, "Usage: lsusb [options]...\r\n", shell_lsusb_handle);
#endif