nanopb: Bringing Protocol Buffers to Your Embedded Microcontrollers

nanopb: Bringing Protocol Buffers to Your Embedded Microcontrollers

Why nanopb is an Embedded MarvelRecently, while working on STM32/ESP32 microcontroller projects, I found that using the traditional Protocol Buffers library can almost deplete flash memory and RAM. Yet, there is a desire to use .proto to define messages, which is efficient and cross-language. nanopb is like a savior, with a code size of just … Read more

nanopb: An Efficient and Lightweight Protocol Buffer Library Designed for Embedded Systems

nanopb: An Efficient and Lightweight Protocol Buffer Library Designed for Embedded Systems

In today’s highly competitive embedded development landscape, devices have increasingly high demands for memory and storage resources. How can efficient data communication and exchange be achieved within limited ROM and RAM? The answer lies in nanopb. This article will provide a detailed overview of this protocol buffer library designed for 32-bit microcontrollers, exploring its powerful … Read more