esp-idf/components/esp_ringbuf
Darian Leung a8b9314353 esp_ringbuf: Clarify behavior when sending items of 0 size
Ring buffers permit sending items of 0 size where:

- No-split/allow-split buffers will send an item (i.e., header) but the item
will have a 0 sized data section
- Byte buffers will simply return pdTRUE

This commit fixes an incorrect assert w.r.t 0 item size in
xRingbufferSendAcquire() and also adds a note to the API descriptions regarding
0 item sizes. A test case has also been added.
2023-02-28 23:56:45 +08:00
..
include/freertos esp_ringbuf: Clarify behavior when sending items of 0 size 2023-02-28 23:56:45 +08:00
test_apps esp_ringbuf: Clarify behavior when sending items of 0 size 2023-02-28 23:56:45 +08:00
.build-test-rules.yml esp_ringbuf: migrated esp_ringbuf component tests to pytest framework 2022-10-11 11:31:04 +02:00
CMakeLists.txt components: use new component registration api 2019-06-21 19:53:29 +08:00
Kconfig esp_ringbuf: placement in flash is no longer controlled by CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH 2022-07-11 09:24:20 +08:00
linker.lf esp_ringbuf: Replace internal semaphores with task event lists 2023-02-28 23:56:45 +08:00
ringbuf.c esp_ringbuf: Clarify behavior when sending items of 0 size 2023-02-28 23:56:45 +08:00