[riot-notifications] [RIOT-OS/RIOT] sys/metadata: Add a metadata command to let an application give metadata (#10961)

MrKevinWeiss notifications at github.com
Wed Feb 6 13:30:25 CET 2019


### Contribution description
This PR adds a metadata_get command to allow an application to give an embedded version of "about us".

### Testing procedure
run `tests/shell_metadata/`, you could also try deleting the INTERFACE_VERSION or overwriting it.


### Issues/PRs references
None

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

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

-- Commit Summary --

  * Makefile.include: Add APPLICATION to defined macros
  * sys/metadata: Add metadata_get command
  * sys/shell/commands: Add shell command for metadata_get
  * tests/shell_metadata: Add tests to show how to use metadata commands

-- File Changes --

    M Makefile.include (1)
    M sys/Makefile.include (7)
    A sys/include/metadata.h (36)
    A sys/metadata/Makefile (1)
    A sys/metadata/metadata.c (31)
    M sys/shell/commands/Makefile (5)
    A sys/shell/commands/sc_metadata.c (28)
    M sys/shell/commands/shell_commands.c (7)
    A tests/shell_metadata/Makefile (10)
    A tests/shell_metadata/README.txt (5)
    A tests/shell_metadata/main.c (35)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/10961.patch
https://github.com/RIOT-OS/RIOT/pull/10961.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/10961
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190206/2774953c/attachment.html>


More information about the notifications mailing list