zephyr/subsys/shell
Nicolas Pitre eee5b8e563 ring_buffer: make finish methods final
Make it possible to "finish" with fewer bytes than what was "claimed".

This was possible before on the get side, but the put side was
cummulative wrt finish. The revamp made it cummulative on both sides.
Turns out that existing users rely on the opposite behavior which is
more logical and useful. So make both sides that way.

Adjust documentation, test case and users accordingly.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2022-02-28 10:52:41 +01:00
..
backends usb: remove Kconfig option USB_UART_CONSOLE 2021-11-18 14:29:18 +01:00
modules shell: kernel_service: Use z_stack_space_get for isr stack stats 2022-02-21 20:57:17 -05:00
CMakeLists.txt lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00
Kconfig lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00
Kconfig.template.shell_log_queue_size
Kconfig.template.shell_log_queue_timeout
shell_cmds.c kernel: atomics: update print specifiers for atomic_t 2021-11-15 09:59:01 -05:00
shell_fprintf.c shell: internal api update: fprintf 2021-01-14 12:07:25 +01:00
shell_help.c shell: don't print colon if there's no item help 2022-02-24 08:29:52 -06:00
shell_help.h shell: make detecting help option optional 2021-03-01 09:50:32 -05:00
shell_history.c ring_buffer: make finish methods final 2022-02-28 10:52:41 +01:00
shell_log_backend.c logging: Deprecate v1, default to v2 2022-01-17 15:49:10 -05:00
shell_ops.c shell: Fix immediate logging case 2022-01-05 14:58:46 -05:00
shell_ops.h shell: Fix immediate logging case 2022-01-05 14:58:46 -05:00
shell_utils.c toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
shell_utils.h shell: optionally set shell root command using Kconfig 2021-06-16 10:41:17 +02:00
shell_vt100.h shell: rework vt100 commands storage 2021-09-28 20:02:01 -04:00
shell_wildcard.c coccinelle: Remove extra semicolon 2021-03-25 11:35:30 -05:00
shell_wildcard.h shell: internal api update: wildcards 2021-01-14 12:07:25 +01:00
shell.c logging: Deprecate v1, default to v2 2022-01-17 15:49:10 -05:00