Skip to content
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

uart: update meaning of uart_irq_tx_ready return code #70939

Merged
merged 4 commits into from
Oct 2, 2024

Commits on Sep 28, 2024

  1. uart: update meaning of uart_irq_tx_ready return code

    Update the documented value range that `uart_irq_tx_ready` returns in
    order to provide more information to the callers about the number of
    bytes that could be writted with `uart_fifo_fill` without fragmentation.
    
    Signed-off-by: Jordan Yates <jordan@embeint.com>
    JordanYates committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    70f73ff View commit details
    Browse the repository at this point in the history
  2. serial/usb: update struct ring_buf users

    Update the interrupt driver UART drivers that use `struct ring_buf`
    internally to report the number of bytes that can be pushed in
    `uart_fifo_fill` without fragmentation.
    
    Signed-off-by: Jordan Yates <jordan@embeint.com>
    JordanYates committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    522065f View commit details
    Browse the repository at this point in the history
  3. serial: async_to_irq: update tx_ready return

    The async IRQ shim supports writes of any size up to the TX buffer size.
    
    Signed-off-by: Jordan Yates <jordan@embeint.com>
    JordanYates committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    da0a0dc View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. serial: uart_nrfx_*: update tx_ready return codes

    Update nrfx drivers with the minimum number of bytes that can be sent
    in a single call to `uart_fifo_fill`.
    
    Signed-off-by: Jordan Yates <jordan@embeint.com>
    JordanYates committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    4efcd7a View commit details
    Browse the repository at this point in the history