- Apr 14, 2018
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
- Apr 11, 2018
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
- Apr 09, 2018
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
Cmake relpath fix
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
- Apr 07, 2018
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
- Apr 05, 2018
-
-
Jason Bishop authored
-
Jason Bishop authored
- The move to using the protoc plugin rather than the 2-step method has broken the relative path feature due to the differences in path handling. - Use CMAKE_CURRENT_BINARY_PATH instead of FIL_PATH_REL when calling protoc with nanopb plugin to avoid having files placed in an incorrectly nested directory
-
- Feb 28, 2018
-
-
Petteri Aimonen authored
Bytes init value fix
-
- Feb 27, 2018
-
-
Hamina, Juha-Pekka authored
-
- Feb 26, 2018
-
-
Hamina, Juha-Pekka authored
-
- Feb 24, 2018
-
-
Petteri Aimonen authored
Updates descriptor.proto to the latest.
-
- Feb 23, 2018
-
-
Andrew Ballinger authored
Many options have been added to descriptor.proto since the last time it was pulled in and nanopb will not work on .proto files using the new options. Addressed more permanently by https://github.com/nanopb/nanopb/pull/241 but that PR makes a series of larger changes to get there.
-
- Feb 20, 2018
-
-
Petteri Aimonen authored
-
- Feb 16, 2018
-
-
Petteri Aimonen authored
-
- Feb 15, 2018
-
-
Petteri Aimonen authored
Add fixed count option
-
Petteri Aimonen authored
Fix CMake options file dependency
-
Oliver Lee authored
Restore dependency of generated nanopb source and header files on an options file, if it exists in the same directory and has the name filename without extension. Add nanopb CMake variable NANOPB_DEPENDS which is a list of files to be manually set as dependencies for the generated source and header files. If these dependencies are options files, the corresponding directory is passed as an options path.
-
Petteri Aimonen authored
Always return size for messages with OneOf fields
-
Oliver Lee authored
Use a maximum calculation if submessage sizes are unknown.
-
- Feb 14, 2018
-
-
Oliver Lee authored
-
Oliver Lee authored
-
Oliver Lee authored
-
Oliver Lee authored
-
Oliver Lee authored
Allow the elements of that single non-packed repeated fixed count field to be interleaved among other (non-packed repeated fixed count) fields. Multiple non-packed repeated fixed count fields are allowed if the elements are not interleaved. An error is returned if the count of a repeated fixed count field is not equal the expected count.
-
Oliver Lee authored
-
Petteri Aimonen authored
Use protoc plugin mode for source generation in CMake
-
Oliver Lee authored
This commit uses protoc using the nanopb plugin to generate source files in a single step instead of two. A new variable 'NANOPB_OPTIONS' can be used to pass nanopb options to protoc. The directory of a generated proto file is always passed as a search path for option files. This fixes the calculation of max encoded size for proto files with imports.
-
Oliver Lee authored
-
- Feb 09, 2018
-
-
Petteri Aimonen authored
-
- Jan 09, 2018
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
Explicitly handle all enum values in switch
-
Robbie Shade authored
-
- Jan 08, 2018
-
-
Petteri Aimonen authored
Add nanopb_PROTOC_PATH variable to CMakeLists.txt
-