Nanopb is a small code-size Protocol Buffers implementation. Homepage: http://kapsi.fi/~jpa/nanopb/ To compile the library, you'll need these libraries: protobuf-compiler python-protobuf libprotobuf-dev The only runtime dependencies are memset() and memcpy(). To run the tests, run make under the tests folder. If it completes without error, everything is fine.
Petteri Aimonen
authored
Avoids unnecessary initialization & unnecessary scan of the pb_field_t array. Runtime on Cortex-M3 -5%, code size +2%. Could need some more testing with random field orders. Have to write a tool to randomize fields in a message.
Name | Last commit | Last update |
---|---|---|
cmake | ||
docs | ||
example | ||
example_avr_double | ||
example_unions | ||
generator | ||
tests | ||
tools | ||
.gitignore | ||
CHANGELOG | ||
LICENSE | ||
README | ||
pb.h | ||
pb_decode.c | ||
pb_decode.h | ||
pb_encode.c | ||
pb_encode.h |