modm API documentation
Nanopb - Protocol Buffers for Embedded Systems

lbuild module: modm:nanopb

Nanopb is a small code-size Protocol Buffers (protobuf) implementation in ansi C. It is especially suitable for use in microcontrollers, but fits any memory restricted system.


Build System Integration

You can optionally point the build system to multiple protofiles using a comma-separated list of paths in the modm:nanopb:source option. You can specify the output location using the modm:nanopb:path option. See the modm:build submodules for further details.

Module Options

modm:nanopb:sources: Comma-separated list of paths to protofiles.

Generated with: {} in [Path]

modm:nanopb:path: Path to the generated messages folder

Generated with: generated/nanopb in [Path]