zephyr/subsys/shell
Tomasz Moń 59f33a6019 shell: uart: Fix wait for DTR before TX
Fail compilation when incorrect configuration is detected, i.e. when
SHELL_BACKEND_SERIAL_CHECK_DTR is set but UART_LINE_CTRL is not set.

Use periodic timer to wait for DTR instead of waiting in uart callback
to prevent blocking caller workqueue and/or sleeping in ISR.

DTR check was only ever supported with interrupt driven backend so add
appropriate depends on to Kconfig.

Fixes: e9f238889b ("shell: uart: Add waiting on DTR signal before
sending data")
Fixes: #47120
Fixes: #54705

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2023-04-06 14:21:57 +02:00
..
backends shell: uart: Fix wait for DTR before TX 2023-04-06 14:21:57 +02:00
modules shell: Provide runtime power management toggling 2023-03-30 17:33:22 -04:00
CMakeLists.txt
Kconfig shell: added SHELL_AUTOSTART configuration option 2022-12-14 15:17:02 +01:00
Kconfig.template.shell_log_queue_size shell: shell_log_backend: take buffer size from config 2022-11-22 13:05:29 +09:00
Kconfig.template.shell_log_queue_timeout
shell_cmds.c shell: shell_cmds: added vt100 commands 2023-03-04 18:36:39 +01:00
shell_fprintf.c
shell_help.c shell: fix armclang compiler warnings with is*() functions 2023-04-04 13:47:14 +02:00
shell_help.h
shell_history.c
shell_log_backend.c shell: shell_log_backend: added check for msg allocation 2022-12-05 15:35:03 +01:00
shell_ops.c
shell_ops.h
shell_utils.c shell: fix armclang compiler warnings with is*() functions 2023-04-04 13:47:14 +02:00
shell_utils.h includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
shell_vt100.h
shell_wildcard.c lib: posix: move fnmatch from lib/util to lib/posix 2023-03-03 17:40:14 +09:00
shell_wildcard.h
shell.c shell: fix assert when bypass mode is set 2023-04-05 10:03:11 +02:00