Make sure these files exist, otherwise the program will not compile.
In a pre-build step, the current git revision
(git describe --tags
)
is written to src/git_revision.h
using scripts/preBuild.py
, e.g.
const char* GIT_REVISION = "0.1.0";
To be able to have a usable website (index.html
) in the repository,
the include file for the firmware is generated just before compilation.
It is also generated within a pre-build step, using the script
scripts/generateWebsite.py
platformio run
The binary is generated at .pio/build/esp32/firmware.bin
No prerequisites required, script will download and build gtest and arduino-mock automatically.
cd test
./build.sh
Coding style is fixed by clang-format
./tools/code-style.sh src/*.cpp src/*.h test/*.cpp test/*.h