Name Date Size #Lines LOC

..--

include/flatbuffers/H25-Apr-2025-3,5942,304

README.mdH A D25-Apr-20251.2 KiB3727

flatbuffers.mkH A D25-Apr-2025386 125

README.md

1# flatbuffers
2
3This folder contains a modified version of the FlatBuffers implementation header
4file (flatbuffers.h) which customizes it for running in the CHRE environment.
5When upgrading to a newer FlatBuffers release, be sure to manually merge the
6changes described in the comment at the top of flatbuffers.h, and apply them to
7new additions as well (e.g. removal of std::string usage) to maintain support.
8The FlatBuffers IDL compiler (flatc) can be used without modification, but must
9match the version of the Flatbuffers library used here.
10
11The FlatBuffers project is hosted at https://github.com/google/flatbuffers/
12
13## Current version
14
15The version currently supported is [v1.12.0](https://github.com/google/flatbuffers/releases/tag/v1.12.0).
16
17### Building flatc
18
19Official build instructions: https://flatbuffers.dev/flatbuffers_guide_building.html
20
21Instructions updated May 29, 2024.
22
23```shell
24mkdir /tmp/flatbuffer-v1.12.0
25cd /tmp/flatbuffer-v1.12.0
26wget https://github.com/google/flatbuffers/archive/refs/tags/v1.12.0.tar.gz -O flatbuffers-1.12.0.tar.gz
27tar -xzvf flatbuffers-1.12.0.tar.gz
28cd flatbuffers-1.12.0
29cmake .
30make flatc
31```
32
33Adding flatc to your PATH
34```shell
35export PATH=$PATH:/tmp/flatbuffer-v1.12.0/flatbuffers-1.12.0
36```
37