Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tniessen/littlefs-ringbuffer
Circular buffers backed by littlefs files, for resource-constrained devices
https://github.com/tniessen/littlefs-ringbuffer
circular-buffer embedded littlefs ring-buffer
Last synced: 2 months ago
JSON representation
Circular buffers backed by littlefs files, for resource-constrained devices
- Host: GitHub
- URL: https://github.com/tniessen/littlefs-ringbuffer
- Owner: tniessen
- License: mit
- Created: 2021-11-20T18:54:52.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-01T15:46:22.000Z (11 months ago)
- Last Synced: 2024-10-06T01:58:26.031Z (3 months ago)
- Topics: circular-buffer, embedded, littlefs, ring-buffer
- Language: C
- Homepage:
- Size: 19.5 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# littlefs ring buffers
[Circular buffers][] backed by [littlefs][] files.
This library consists of a single header file and a single source file that
implement a simple circular data structure. Similar to littlefs itself, the
implementation focuses on memory efficiency (adding only a few bytes on top of
the required littlefs data structures) and reliability.## Modes of operation
Ring buffers support two modes of operation. In "stream" mode, all data is
a contiguous sequence of bytes. In "object" mode, the implementation dynamically
partitions the buffer to store separate objects, which are variable-length
sequences of bytes themselves.[Circular buffers]: https://en.wikipedia.org/wiki/Circular_buffer
[littlefs]: https://github.com/littlefs-project/littlefs