-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
usb: device_next: align CDC ACM UART with Interrupt-driven UART API #75439
usb: device_next: align CDC ACM UART with Interrupt-driven UART API #75439
Commits on Oct 2, 2024
-
doc: usb: move "Built-in functions" down and increase the heading
Move "Built-in functions" section down and increase the heading. Signed-off-by: Johann Fischer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c55706a - Browse repository at this point
Copy the full SHA c55706aView commit details -
usb: device_next: align CDC ACM UART with Interrupt-driven UART API
Align CDC ACM UART with Interrupt-driven UART API behavior description. Use the same flags in uart_irq_rx_ready(), uart_irq_tx_ready(), and uart_irq_is_pending(), which are updated after each uart_irq_update() call. Allow TX FIFO to be filled if there is space. Signed-off-by: Johann Fischer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b88eec7 - Browse repository at this point
Copy the full SHA b88eec7View commit details -
doc: usb: describe CDC ACM virtual UART IRQ API behavior
In general, it mirrors what is described in Interrupt-driven API documentation, but here a little more explicitly and with a simplified example, so that we can finally chisel it into the stone. Signed-off-by: Johann Fischer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ccd92e7 - Browse repository at this point
Copy the full SHA ccd92e7View commit details -
usb: device_next: align CDC ACM UART poll_out with legacy implementation
Apply changes in commit c152e09 ("usb: device: cdc_acm: block in uart_poll_out() routine") to the new CDC ACM UART poll_out implementation. Signed-off-by: Johann Fischer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f5e56e4 - Browse repository at this point
Copy the full SHA f5e56e4View commit details -
usb: device_next: allow fifo_fill and poll_out be used simultaneously
As it is still accepted practice, allow fifo_fill and poll_out to be used simultaneously. The lock around fifo_fill was already in place. Signed-off-by: Johann Fischer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e80ee2 - Browse repository at this point
Copy the full SHA 6e80ee2View commit details -
doc: usb: add note about CDC ACM virtual UART polling API behavior
Add note about CDC ACM virtual UART polling API behavior. Signed-off-by: Johann Fischer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 98ba81c - Browse repository at this point
Copy the full SHA 98ba81cView commit details -
usb: device_next: limit CDC ACM OUT transfer size to the current MPS
When the controller is connected to a full speed bus, regardless of whether the controller supports high speed or not, the transfer size for the bulk OUT endpoint should be equal to the MPS in the current configuration. Signed-off-by: Johann Fischer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3304357 - Browse repository at this point
Copy the full SHA 3304357View commit details -
usb: device_next: use delayable work for TX FIFO in CDC ACM
Use delayable work to reduce CPU load when there is no transfer flow in the host direction. This also improves the performance of poll out, as introduced in commit commit fed6bde ("usb: device: cdc_acm: send more than 1 byte in poll out") for the legacy CDC ACM implementation. Signed-off-by: Johann Fischer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 87d3827 - Browse repository at this point
Copy the full SHA 87d3827View commit details