spoorcc / zephNVS

Zephyrs NVS subsystem - As a Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZephNVS

Build Status

ZephNVS is a port of the Zephyr NVS. This enables to use this wonderfull storage in non-Zephyr projects.

See Documentation on github.com. Or get the source code on github.com/spoorcc.

Or the original Zephyr NVS documentation at zephyrproject - nvs.

Main design goals

  • No Dynamic memory
  • A portable pure C Core
  • Compilable for any platform
  • Thread-safe (at some point :) )
  • Complete documentation
  • Extensible for your needs

Basic Usage

Developing

Compiling

Make sure to have CMake and a compiler installed.

    mkdir bld
    cd bld
    cmake ..
    make

Running tests

    cd bld
    make test

For more verbose test output use CTest directly

    ctest --verbose

Generating documentation

The documentation is generated with Doxygen and CMake.

    cd bld
    make doc

About

Zephyrs NVS subsystem - As a Library

License:Apache License 2.0


Languages

Language:C 83.6%Language:CMake 12.4%Language:C++ 3.6%Language:Dockerfile 0.5%