[riot-notifications] [RIOT-OS/RIOT] fs: add tmpfs, a RAM file system (#8553)

Vincent Dupont notifications at github.com
Tue Feb 13 18:54:58 CET 2018

### Contribution description

This PR adds a temporary RAM file system. It uses dynamic memory allocation (malloc/free, but this can be overwritten with defines and could be improved later on) to allocate RAM files.

The file system is based on a chained list of files, each file containing a chained list of buffers.
There is no support for directories.

### Issues/PRs references

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * fs: add tmpfs implementation
  * tests/unittests: add tmpfs unittests

-- File Changes --

    M Makefile.dep (4)
    M sys/Makefile (3)
    A sys/fs/tmpfs/Makefile (3)
    A sys/fs/tmpfs/tmpfs.c (388)
    A sys/include/fs/tmpfs.h (63)
    A tests/unittests/tests-tmpfs/Makefile (1)
    A tests/unittests/tests-tmpfs/Makefile.include (3)
    A tests/unittests/tests-tmpfs/tests-tmpfs.c (295)
    A tests/unittests/tests-tmpfs/tests-tmpfs.h (37)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20180213/2206b37b/attachment.html>

More information about the notifications mailing list