mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
7fd329b3a1
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.
10 lines
180 B
Protocol Buffer
10 lines
180 B
Protocol Buffer
// A very simple protocol definition, consisting of only
|
|
// one message.
|
|
|
|
syntax = "proto2";
|
|
import "nanopb.proto";
|
|
|
|
message SimpleMessage {
|
|
required int32 lucky_number = 1;
|
|
}
|