1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/pkg/flatbuffers
2023-05-06 07:55:03 +02:00
..
tests tests: move pkg_ application to tests/pkg subdirectory 2023-05-06 07:55:01 +02:00
.gitignore tests: move pkg_ application to tests/pkg subdirectory 2023-05-06 07:55:01 +02:00
app.config.test tests: move pkg_ application to tests/pkg subdirectory 2023-05-06 07:55:01 +02:00
main.cpp tests: move pkg_ application to tests/pkg subdirectory 2023-05-06 07:55:01 +02:00
Makefile tests: move pkg_ application to tests/pkg subdirectory 2023-05-06 07:55:01 +02:00
Makefile.ci tests: move pkg_ application to tests/pkg subdirectory 2023-05-06 07:55:01 +02:00
monster.fbs tests: move pkg_ application to tests/pkg subdirectory 2023-05-06 07:55:01 +02:00
README.md treewide: replace remaining occurrences of tests/pkg_* 2023-05-06 07:55:03 +02: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!"