[riot-notifications] [RIOT-OS/RIOT] sys/registry: Add EEPROM storage (#10910)

Leandro Lanzieri notifications at github.com
Thu Jan 31 11:51:35 CET 2019


### Contribution description
This PR adds an EEPROM based storage facility for the RIOT Registry (#10799). This allows to save the configuration parameters in an EEPROM memory. For handling the data it uses the eepreg module.

It also modifies the `tests/registry` application to easily integrate this storage.

### Testing procedure
Modify the Makefile of the `tests/registry` application to use the `registry_store_eeprom` instead of the `registry_store_dummy`. Run the application, modify the values and save them. They should persist after rebooting the node.

### Issues/PRs references
Depends on PR #10799.


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

  https://github.com/RIOT-OS/RIOT/pull/10910

-- Commit Summary --

  * sys: Add RIOT Registry
  * sys/registry: Add EEPROM storage
  * tests/registry: Add EEPROM storage to test

-- File Changes --

    A doc/doxygen/src/riot-registry-architecture.svg (1531)
    M sys/Makefile.dep (9)
    A sys/include/registry/registry.h (464)
    A sys/include/registry/store/doc.txt (16)
    A sys/include/registry/store/registry_store_eeprom.h (60)
    A sys/registry/Makefile (7)
    A sys/registry/registry.c (198)
    A sys/registry/registry_conversion.c (262)
    A sys/registry/registry_store.c (126)
    A sys/registry/store/eeprom/Makefile (3)
    A sys/registry/store/eeprom/registry_store_eeprom.c (95)
    A tests/registry/Makefile (22)
    A tests/registry/README.md (17)
    A tests/registry/dummy/Makefile (3)
    A tests/registry/dummy/include/registry_store_dummy.h (32)
    A tests/registry/dummy/registry_store_dummy.c (83)
    A tests/registry/main.c (320)
    A tests/unittests/tests-registry/Makefile (1)
    A tests/unittests/tests-registry/Makefile.include (2)
    A tests/unittests/tests-registry/tests-registry-commit.c (73)
    A tests/unittests/tests-registry/tests-registry-conversions.c (220)
    A tests/unittests/tests-registry/tests-registry-export.c (104)
    A tests/unittests/tests-registry/tests-registry-load.c (84)
    A tests/unittests/tests-registry/tests-registry-save.c (114)
    A tests/unittests/tests-registry/tests-registry-set-get-value.c (141)
    A tests/unittests/tests-registry/tests-registry.c (37)
    A tests/unittests/tests-registry/tests-registry.h (45)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/10910.patch
https://github.com/RIOT-OS/RIOT/pull/10910.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10910
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190131/30c979eb/attachment.html>


More information about the notifications mailing list