Skip to content

Circular buffers backed by littlefs files, for resource-constrained devices

License

Notifications You must be signed in to change notification settings

tniessen/littlefs-ringbuffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Circular buffers backed by littlefs files, for resource-constrained devices

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published