zephyr/subsys/usb
Michael Hope 29f4e18af4 cdc_acm: fix interrupt handling, API registration, and propgate errors.
As per uart_pipe.c, irq_is_pending should only return true if any
*unmasked* interrupts are pending.

The device_get_binding() code only checks devices that have an API.
Set the API at compile time so that other devices can refer to the CDC
ACM driver.

usb_write() may return EBUSY if the endpoint is full.  Propagate this
for future use.

Signed-off-by: Michael Hope <mlhx@google.com>
2018-03-28 11:17:14 +02:00
..
class cdc_acm: fix interrupt handling, API registration, and propgate errors. 2018-03-28 11:17:14 +02:00
CMakeLists.txt subsys: usb: Set Zephyr project USB Vendor and Product IDs 2018-01-15 15:47:53 -05:00
composite.c usb: Rename SYS_LOG_USB to SYS_LOG_USB_DEVICE 2018-01-17 18:53:05 -05:00
composite.h subsys: usb: add composite device support 2017-10-13 09:18:14 -04:00
Kconfig usb: provide different USB product strings in the USB samples 2018-03-14 11:25:56 +01:00
usb_descriptor.c subsys: usb: usb_descriptor: fix style and function declaration 2018-03-21 15:39:56 -04:00
usb_descriptor.h subsys: usb: usb_descriptor: fix style and function declaration 2018-03-21 15:39:56 -04:00
usb_device.c usb: call status_callback on interface set 2018-03-16 14:45:24 -07:00