firmware/extra/nanopb/tests/inline/inline.proto
Patrick Moessler 0c83634f42 Initial commit
2019-10-13 00:37:11 +02:00

17 lines
361 B
Protocol Buffer

/* Test nanopb option parsing.
* options.expected lists the patterns that are searched for in the output.
*/
syntax = "proto2";
import "nanopb.proto";
message Message1
{
required bytes data = 1 [(nanopb).type = FT_INLINE, (nanopb).max_size = 32];
}
message Message2
{
optional bytes data = 1 [(nanopb).type = FT_INLINE, (nanopb).max_size = 64];
}