X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=generator%2Fproto%2Fnanopb.proto;h=0716be4ba3270aafd586b94d686a04c7d169fe5b;hb=e5cbee84e12e87b342d7c57808b009387e1ba2bb;hp=2be2f8037983165dcd583c1959e3f2d12c1460b9;hpb=356535da9bd79252e5365a6e5648b7fcd28b367c;p=apps%2Fagl-service-can-low-level.git diff --git a/generator/proto/nanopb.proto b/generator/proto/nanopb.proto index 2be2f803..0716be4b 100644 --- a/generator/proto/nanopb.proto +++ b/generator/proto/nanopb.proto @@ -5,6 +5,7 @@ // These are used by nanopb to generate statically allocable structures // for memory-limited environments. +syntax = "proto2"; import "google/protobuf/descriptor.proto"; option java_package = "fi.kapsi.koti.jpa.nanopb"; @@ -37,6 +38,9 @@ message NanoPBOptions { // Note: this cannot be used on CPUs that break on unaligned // accesses to variables. optional bool packed_struct = 5 [default = false]; + + // Skip this message + optional bool skip_message = 6 [default = false]; } // Extensions to protoc 'Descriptor' type in order to define options