usb_cmd.c 303 B

123456789101112
  1. #include <zephyr/shell/shell.h>
  2. #if CONFIG_CHERRYUSB_HOST
  3. #include "usbh_core.h"
  4. static void shell_lsusb_handle(const struct shell *sh, size_t argc, char **argv)
  5. {
  6. ARG_UNUSED(sh);
  7. lsusb(argc, argv);
  8. }
  9. SHELL_CMD_REGISTER(lsusb, NULL, "Usage: lsusb [options]...\r\n", shell_lsusb_handle);
  10. #endif