community/nanopb
Nanopb is a small code-size Protocol Buffers implementation in ansi C. It is especially suitable for use in microcontrollers, but fits any memory restricted system.
Add this to the
plugins section of your buf.gen.yaml. For more detail, refer to the supporting docs.