1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/pkg_flatbuffers
2020-12-11 18:33:31 +01:00
..
tests tests/pkg_flattbuffers: add sample application 2020-01-13 09:41:23 +01:00
.gitignore tests/pkg_flattbuffers: add sample application 2020-01-13 09:41:23 +01:00
main.cpp tests/pkg_flattbuffers: add sample application 2020-01-13 09:41:23 +01:00
Makefile tests/pkg_flattbuffers: add sample application 2020-01-13 09:41:23 +01:00
Makefile.ci tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
monster.fbs tests/pkg_flattbuffers: add sample application 2020-01-13 09:41:23 +01:00
README.md tests/pkg_flattbuffers: add sample application 2020-01-13 09:41:23 +01:00

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