1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/pkg/flatbuffers/README.md

818 B

FlatBuffer sample application

This application shows how to use the FlatBuffer library from Google for serializing/deserializing a runtime C++ object to/from a binary buffer.

The application is taken as is from the upstream repository.

More details are available on the FlatBuffers website.

Usage

Simply flash and run the application on the board of your choice using:

make BOARD=<board of your choice> -C tests/pkg/flatbuffers flash term

Expected result

The application creates an object, serialize it in a FlatBuffer and after reloading the serialized object it displays:

"The FlatBuffer was successfully created and verified!"