zephyr/subsys
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
..
bindesc bindesc: Update build time without re-running cmake entirely 2024-03-29 15:08:39 +00:00
bluetooth mbedtls: add specific Kconfig option for MBEDTLS_USE_PSA_CRYPTO 2024-05-09 10:27:30 +02:00
canbus canbus: isotp: use proper CAN ID masks 2024-04-24 09:53:06 +02:00
console
debug gdbstub: Add v-packet handling function 2024-04-03 15:39:28 +01:00
demand_paging
dfu subsys/dfu/boot: Fix image confirm for Direct XIP 2024-02-06 21:00:36 +01:00
disk
dsp
emul treewide: drivers: espi: Adjust terms per eSPI specification 1.5 2024-05-02 13:56:46 -04:00
fb
fs fs: fuse: fix fuse include path 2024-05-06 22:53:27 +01:00
input input: utils: rename the input dump callback 2024-04-01 11:05:02 +01:00
ipc ipc: ipc_service: icbmsg backend: workaround endpoint binding deadlock 2024-05-08 19:11:09 +01:00
jwt jwt: use sys_rand_get directly 2024-04-05 12:28:46 +02:00
llext llext: add support for STT_OBJECT relocations 2024-05-07 17:56:19 -04:00
logging logging: Default to IMMEDIATE mode for native targets 2024-04-26 19:48:49 +01:00
lorawan lorawan: add channels mask configuration. 2024-05-03 09:51:46 +02:00
mem_mgmt
mgmt mgmt: fix bad SPDX-License-Identifier header 2024-05-08 09:23:16 -04:00
modbus modbus: Respect CONFIG_UART_USE_RUNTIME_CONFIGURE 2024-04-10 10:01:55 +02:00
modem modem_chat: Allow timeout script chat commands 2024-05-07 15:09:21 -05:00
net net: tcp: use PSA for SHA256 when BUILD_WITH_TFM 2024-05-09 10:27:30 +02:00
pm pm: re-program timer HW only when the exit latency is not zero 2024-05-06 17:31:40 +01:00
portability cmsis_rtos_v1: support memory mapped stack at abort hook 2024-04-10 07:44:27 -04:00
random random: Rename source files 2024-03-28 09:44:44 +00:00
retention
rtio
sd sd: sdmmc: fix formatting 2024-03-20 10:27:02 -05:00
sensing
settings subsys/settings: add a function to save subtree 2024-05-01 22:56:19 +01:00
shell shell: backends: uart: avoid unnecessary TX IRQs 2024-05-09 15:46:25 +02:00
sip_svc linker: subsys: Use Z_LINK_ITERABLE_SUBALIGN 2024-04-20 13:45:25 -04:00
stats
storage subsys/storage/flash_map: Inline flash_area_layout 2024-03-22 08:58:48 +01:00
task_wdt task_wdt: add shell 2024-03-22 10:24:55 +01:00
testsuite testsuite: interrupt_util: add trigger_irq for VPR CLIC 2024-05-06 19:06:19 +02:00
timing
tracing tracing: full reset during init 2024-04-24 17:08:24 -04:00
usb usb: device: get rid of the partial initialization called by SYS_INIT 2024-05-08 12:00:46 +02:00
zbus
CMakeLists.txt
Kconfig