我这里使用nanopb-0.3.8-windows-x86,目录: nanopb在STM32上的使用 首先,准备一个可进行串口打印的STM32工程,如: 在工程目录下新建一个Protobuf文件夹,并把nanopb-0.3.8-windows-x86目录下如下7个文件 pb.h pb_common.c pb_common.h pb_decode.c pb_decode.h pb_encode.c pb_encode.h 复制至Protobuf文...
nanopb 在 STM32 上的使用 首先,准备一个可进行串口打印的 STM32 工程,如: 在工程目录下新建一个 Protobuf 文件夹,并把nanopb-0.3.8-windows-x86目录下如下 7 个文件 pb.h pb_common.c pb_common.h pb_decode.c pb_decode.h pb_encode.c pb_encode.h 复制至 Protobuf 文件夹中: 文首提到的关于 p...
本期主角:nanopb nanopb是也是一个轻量的、支持C语言的Protobuf,可以在STM32等单片机上使用。 Protobuf是Google公司开发的一种数据格式,类似于XML能够将结构化数据序列化,可用于数据存储、通信协议等方面。它不依赖于语言和平台并且可扩展性极强。 nanopb的优点: 更小、更快、更简单。 解析速度快。 可扩展性强。
nanopb可通过以下链接下载:
Use scons PLATFORM=STM32 and scons PLATFORM=AVR to run these tests. Build systems and integration Nanopb C code itself is designed to be portable and easy to build on any platform. Often the bigger hurdle is running the generator which takes in the .proto files and outputs .pb.c ...
标签(70) 管理 管理 master maintenance_0.3 dev_dynamic_nanopb_pb2 cifuzz_test4 dev_markdown_docs maintenance_0.2 maintenance_0.1 nanopb-0.4.5 0.4.5 nanopb-0.3.9.8 0.3.9.8 nanopb-0.4.4 0.4.4 nanopb-0.3.9.7 0.3.9.7 nanopb-0.4.3
Code Issues Pull requests zephyr-rtos demo protobuf3 nanopb stm32f2 cdc-acm zephyr-rtos Updated Aug 24, 2024 C konstantin89 / nanopb-poc Star 0 Code Issues Pull requests Encoding/Decoding Protobuf messages with Nanopb library embedded protobuf cpp nanopb Updated May 29, 2022 C++ do...
For embedded platforms, there is currently support for running the tests on STM32 discovery board andsimavrAVR simulator. Usescons PLATFORM=STM32andscons PLATFORM=AVRto run these tests. Build systems and integration# Nanopb C code itself is designed to be portable and easy to build on any platf...
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库:https://github.com/nanopb/nanopb master 分支(7) 标签(85) 管理 管理 master maintenance_0.4 pr947 maintenance_0.3 dev_dynamic_nanopb_pb2_2 maintenance_0.2 maintenance_0.1 nanopb-0.4.9.1 ...
nanopb在STM32上的使用 首先,准备一个可进行串口打印的STM32工程,如: 在工程目录下新建一个Protobuf文件夹,并把nanopb-0.3.8-windows-x86目录下如下7个文件 pb.h pb_common.c pb_common.h pb_decode.c pb_decode.h pb_encode.c pb_encode.h