1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/pkg_nanopb
Benjamin Valentin 7fd329b3a1 pkg/nanopb: fix for proto files with includes
Proto files can include other proto files.
E.g. nanopb comes with a `nanopb.proto` include that contains some
nanopb-specific extensions.

This patch makes it possible to include this file as well as specifying
additional proto include folders.

I added the include to `simple.proto` so it gets exercised by the test.
2020-04-02 17:21:25 +02:00
..
tests tests/pkg_nanopb: initial commit 2019-10-18 22:34:29 +02:00
main.c tests/pkg_nanopb: initial commit 2019-10-18 22:34:29 +02:00
Makefile tests/pkg_nanopb: initial commit 2019-10-18 22:34:29 +02:00
Makefile.ci tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
README.md tests/pkg_nanopb: initial commit 2019-10-18 22:34:29 +02:00
simple.proto pkg/nanopb: fix for proto files with includes 2020-04-02 17:21:25 +02:00

Introduction

This is a test application for the nanoPb library. The library provides a Google Protocol Buffers encoder / decoder.

Prerequisites

Install the protobuf compiler and the protobuf python bindings. On Debian/ubuntu, the corresponding packages are protobuf-compiler and python-protobuf. On Arch, it is protobuf and python-protobuf.