zephyr/subsys/usb
Johann Fischer 25b0212fc3 subsys: usb: class: add loopback function
Add loopback function. This function can be used to test
USB device drivers and device stack connected to linux host
and has the similar interface as "Gadget Zero" [1] of the Linux
kernel.

Use modprobe usbtest to load the module, see also [2] for the
description of the tests and for Vendor and Product ID of the
"Gadget Zero". The userspace tool testusb [3] is needed to start
the tests.

[1] linux/drivers/usb/gadget/function/f_loopback.c
[2] linux/drivers/usb/misc/usbtest.c
[3] linux/tools/usb/testusb.c

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2018-07-06 11:56:16 -05:00
..
class subsys: usb: class: add loopback function 2018-07-06 11:56:16 -05:00
bos.c usb: bos: Add USB BOS descriptors API 2018-06-20 15:47:00 -04:00
CMakeLists.txt usb: bos: Add USB BOS descriptors API 2018-06-20 15:47:00 -04:00
Kconfig usb: bos: Add USB BOS descriptors API 2018-06-20 15:47:00 -04:00
usb_descriptor.c usb: usb_descriptor: fix null pointer dereference 2018-07-03 14:28:46 -04:00
usb_descriptor.h subsys: usb: rework composite device support 2018-06-15 11:02:05 +02:00
usb_device.c subsys: usb: stall if there is no data buffer 2018-07-06 11:56:16 -05:00