zephyr/subsys/shell
Pete Skeggs 75a74bfad2 shell: make flag modification atomic
Add Z_SHELL_SET_FLAG_ATOMIC macro to use technique from
shell_process() to atomically set and return the previous
value.

Change all void z_flag_*_set() functions to bool z_flag_*_set()
and use macro to return previous value after setting.

Modify shell_process() to use this modified z_flag_processing_set()
function.

Reorder flags to keep last_nl on byte boundary.

Add public setters for insert_mode, echo, and mode_delete for
completeness.

Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
2021-03-24 05:44:14 -04:00
..
modules clock: remove z_ from semi-public APIs 2021-03-19 11:22:17 -04:00
CMakeLists.txt shell: add getopt library support 2021-03-01 09:50:32 -05:00
Kconfig shell: add obscured input mode 2021-03-24 05:44:14 -04:00
Kconfig.backends shell: Fix typo in a comment 2020-09-15 09:44:42 -05:00
Kconfig.template.shell_log_queue_size
Kconfig.template.shell_log_queue_timeout
shell_cmds.c shell: shell_utils internal api update 2021-01-14 12:07:25 +01:00
shell_dummy.c
shell_fprintf.c shell: internal api update: fprintf 2021-01-14 12:07:25 +01:00
shell_getopt.c shell: add getopt library support 2021-03-01 09:50:32 -05:00
shell_help.c shell: improve help for conditional commands 2021-03-05 15:35:16 +03:00
shell_help.h shell: make detecting help option optional 2021-03-01 09:50:32 -05:00
shell_history.c shell: internal api update: history module 2021-01-14 12:07:25 +01:00
shell_log_backend.c shell: shell_utils internal api update 2021-01-14 12:07:25 +01:00
shell_ops.c shell: add obscured input mode 2021-03-24 05:44:14 -04:00
shell_ops.h shell: make flag modification atomic 2021-03-24 05:44:14 -04:00
shell_rtt.c
shell_telnet_protocol.h
shell_telnet.c
shell_uart.c mgmt: smp: shell: allow to configure multiple RX buffers via Kconfig 2020-10-07 14:51:06 +02:00
shell_utils.c shell: shell_utils internal api update 2021-01-14 12:07:25 +01:00
shell_utils.h shell: shell_utils internal api update 2021-01-14 12:07:25 +01:00
shell_vt100.h
shell_wildcard.c shell: shell_utils internal api update 2021-01-14 12:07:25 +01:00
shell_wildcard.h shell: internal api update: wildcards 2021-01-14 12:07:25 +01:00
shell.c shell: make flag modification atomic 2021-03-24 05:44:14 -04:00