[riot-notifications] [RIOT-OS/RIOT] Add nanopb package (#11157)

Philipp notifications at github.com
Tue Mar 12 01:47:01 CET 2019


### Contribution description
Add nanopb package. See example of how it works. Just create proto directory with your proto files. Include the package in your app:
```
USEPKG += nanopb
```
And that's it. The Makefile will do the rest for you. It compiles the header and c files for you.


### Testing procedure
```
cd examples/nanopb_example && make
```

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

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

-- Commit Summary --

  * Add nanopb package
  * Add nanopb package example

-- File Changes --

    A examples/nanopb_example/Makefile (21)
    A examples/nanopb_example/main.c (67)
    A examples/nanopb_example/proto/test.proto (5)
    A pkg/nanopb/Makefile (30)
    A pkg/nanopb/Makefile.include (1)
    A pkg/nanopb/Makefile.template (51)

-- Patch Links --

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


More information about the notifications mailing list