zephyr/subsys/shell
Krzysztof Chruscinski 2e6892c9b0 shell: Add handling of CONFIG_LOG_INPLACE_PROCESS option
Extended shell to be able to process logs in place
(in the context of a log call). In order to achieve that,
shell was extended to  support for TX blocking operations. If
CONFIG_LOG_INPLACE_PROCESS is enabled then shell instance
attempts to be initialized in blocking TX mode. If fails to
do so, shell log backend is disabled. If successfully enabled
logs are processed and printed in the context of the call.

Due to that change, user may expirience interleaved output as
shell has no means to multiplex shell output with logger output.
In extreme, huge amount of log messages may prevent shell thread
execution and shell may become unresponsive.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2019-02-05 09:55:39 +01:00
..
modules shell: remove obsolete \r characters 2018-12-17 11:31:22 +01:00
CMakeLists.txt shell: removing legacy shell 2019-01-16 21:35:36 -05:00
Kconfig shell: remove empty lines at EOF 2019-01-31 22:18:06 +02:00
Kconfig.backends shell: Improve handling of log messages 2018-12-19 14:37:00 +01:00
Kconfig.template.shell_log_queue_size shell: Improve handling of log messages 2018-12-19 14:37:00 +01:00
Kconfig.template.shell_log_queue_timeout shell: Improve handling of log messages 2018-12-19 14:37:00 +01:00
shell.c shell: Add handling of CONFIG_LOG_INPLACE_PROCESS option 2019-02-05 09:55:39 +01:00
shell_cmds.c shell: safe print from different threads 2019-01-30 13:05:56 +01:00
shell_dummy.c shell: Improve handling of log messages 2018-12-19 14:37:00 +01:00
shell_fprintf.c shell: parsing output LF character 2018-10-10 10:45:28 +02:00
shell_help.c shell: safe print from different threads 2019-01-30 13:05:56 +01:00
shell_help.h shell: creating new module for help functionality 2018-12-05 15:15:44 +01:00
shell_history.c shell: Changing shell_history_get signature 2018-12-28 17:47:46 -05:00
shell_log_backend.c shell: Add handling of CONFIG_LOG_INPLACE_PROCESS option 2019-02-05 09:55:39 +01:00
shell_ops.c shell: Move internal functions from shell.c to shell_ops.c 2019-02-05 09:55:39 +01:00
shell_ops.h shell: Move internal functions from shell.c to shell_ops.c 2019-02-05 09:55:39 +01:00
shell_rtt.c shell: Improve handling of log messages 2018-12-19 14:37:00 +01:00
shell_uart.c shell: Add handling of CONFIG_LOG_INPLACE_PROCESS option 2019-02-05 09:55:39 +01:00
shell_utils.c shell: safe print from different threads 2019-01-30 13:05:56 +01:00
shell_utils.h shell: Make shell_strlen return u16_t 2018-12-28 17:47:46 -05:00
shell_vt100.h shell: add meta-keys 2019-01-14 16:01:48 -05:00
shell_wildcard.c shell: safe print from different threads 2019-01-30 13:05:56 +01:00
shell_wildcard.h shell: Add wildcard support 2018-09-19 09:30:29 -04:00