zephyr/subsys/shell
Robert Hancock d2e5eeb51d shell: backends: uart: avoid unnecessary TX IRQs
The shell UART TX code would only disable the TX IRQ when no data was
available in the TX ring buffer. However, it should also disable the IRQ
when all data retrieved from the buffer has been written. Otherwise it
will just result in another immediate TX IRQ which results in the IRQ
finally being disabled.

For this to work, since ring_buf_get_claim may not always return all
available data in the ring buffer on a single call, we need to loop
until either no data is left in the ring buffer or the UART was unable
to consume any of the data.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
2024-05-09 15:46:25 +02:00
..
backends shell: backends: uart: avoid unnecessary TX IRQs 2024-05-09 15:46:25 +02:00
modules shell: device_service: show the usage conter when pm runtime is enabled 2024-05-01 10:31:03 +02:00
CMakeLists.txt
Kconfig shell: Allow extension of shell APIs 2024-04-24 16:04:03 -04:00
Kconfig.template.shell_log_queue_size
Kconfig.template.shell_log_queue_timeout
shell_cmds.c shell: fix shell instance name typo 2023-12-05 10:44:56 -05:00
shell_fprintf.c
shell_help.c shell: Add a space after colon 2024-01-05 14:43:21 -05:00
shell_help.h
shell_history.c
shell_log_backend.c shell: fix a memory corruption coverity issue 2023-10-13 13:11:28 +03:00
shell_ops.c shell: Fix scrolling long commands in history 2023-09-13 16:26:02 +02:00
shell_ops.h shell: Fix shell init procedure when configured as inactive on startup 2024-01-21 16:01:36 +01:00
shell_utils.c shell: add a callback-filter variant of shell_device_lookup 2024-04-30 19:30:15 -05:00
shell_utils.h
shell_vt100.h
shell_wildcard.c
shell_wildcard.h
shell.c shell: Allow extension of shell APIs 2024-04-24 16:04:03 -04:00