zephyr/tests/lib/ringbuffer
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
..
src ring_buffer: make finish methods final 2022-02-28 10:52:41 +01:00
CMakeLists.txt
Kconfig
prj.conf kconfig: Rename the TEST_EXTRA stack size option to align with the rest 2022-02-22 08:23:05 -05:00
testcase.yaml tests: ringbuffer: test 32-bit wrap-around conditions 2022-02-24 14:49:00 -08:00