zephyr/subsys/usb
Johann Fischer 37f4d9ba63 usb: cdc_acm: rework cdc_acm_poll_out to non-blocking
Change cdc_acm_poll_out to do the best to mimic behavior
of a hardware UART controller without flow control.

With this patch, if the USB subsystem is not ready,
no data is transfered to the buffer, that is, new character
is dropped. If the USB subsystem is ready and the buffer is full,
the first character from the tx_ringbuf is removed to
make room for the new character.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2021-08-12 16:57:12 -04:00
..
class usb: cdc_acm: rework cdc_acm_poll_out to non-blocking 2021-08-12 16:57:12 -04:00
bos.c usb: use new USB framework header 2021-08-03 13:20:07 +02:00
CMakeLists.txt usb: add optional work queue 2020-09-16 13:32:22 -05:00
Kconfig usb: remove Kconfig option CONFIG_USB 2021-08-03 19:00:12 -04:00
os_desc.c usb: use new USB framework header 2021-08-03 13:20:07 +02:00
os_desc.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
usb_descriptor.c usb: use new USB framework header 2021-08-03 13:20:07 +02:00
usb_descriptor.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
usb_device.c usb: fix SetInterface handling for interfaces without any endpoints 2021-08-05 16:13:10 +02:00
usb_transfer.c usb: fix possible deadlock in usb_transfer_sync() 2021-01-26 07:21:13 -05:00
usb_transfer.h usb: fix header language linkage 2020-09-16 13:32:22 -05:00
usb_work_q.c usb: conversion of k_work API 2021-04-15 12:29:34 -04:00
usb_work_q.h usb: add optional work queue 2020-09-16 13:32:22 -05:00