1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/pkg_flatbuffers
2022-04-27 10:53:50 +02:00
..
tests
.gitignore
app.config.test tests/pkg_flatbuffers: add Kconfig support 2022-04-27 10:53:50 +02:00
main.cpp
Makefile
Makefile.ci tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
monster.fbs
README.md

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!"