ringfs
|
RingFS is a persistent, Flash-based ring buffer designed for embedded software. It's aimed at storing non-critical data that can be expunged on the FIFO basis as needed. Typical uses include:
RingFS has been designed to run on NOR Flash memory, which exhibits the following semantics:
ringfs.[ch]
to your project.sector_erase
, program
, read
).struct ringfs_flash_partition
. See tests.c
for an example.See Doxygen-generated documentation at http://cloudyourcar.github.io/ringfs/.
The ring buffer has been designed to be as simple as possible. Therefore, the following are non-features that will not be implemented:
Actually, on the second thought, I may consider adding support for variable object sizes some day.
Copyright © 2014 Kosma Moczek <kosma> @clo udyou rcar .com
This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the COPYING file for more details.