Replace/augment the current VFS stdio polling transport (fgetc + 10 ms sleep in shell_stdio.c) with a shell_transport_uart backed by the zdevice UART driver's IRQ-mode API. Lives alongside shell_transport_stdio — users pick per-project. Estimated ~30 lines in a new shell_uart.c.
Unblocked by the UART driver (feature/uart branch).
Related shell_stdio.c housekeeping to fold in:
- Drop unused
#include <string.h>
- Check the
fcntl(F_SETFL) return in init — on failure stdin stays blocking and the shell thread can freeze; log + return -EIO
shell_stdio_write flushes stdout per write; revisit the call-site pattern when the UART transport lands
Replace/augment the current VFS stdio polling transport (
fgetc+ 10 ms sleep inshell_stdio.c) with ashell_transport_uartbacked by the zdevice UART driver's IRQ-mode API. Lives alongsideshell_transport_stdio— users pick per-project. Estimated ~30 lines in a newshell_uart.c.Unblocked by the UART driver (
feature/uartbranch).Related
shell_stdio.chousekeeping to fold in:#include <string.h>fcntl(F_SETFL)return in init — on failure stdin stays blocking and the shell thread can freeze; log + return-EIOshell_stdio_writeflushes stdout per write; revisit the call-site pattern when the UART transport lands