I try to compile LittleFS for ESP32. There’s a LittleFS version bundled with ESP-IDF, but it only supports the program flash while I use a secondary external flash, so I figure I need to install LittleFS separately.
lib_deps =
GitHub - littlefs-project/littlefs: A little fail-safe filesystem designed for microcontrollers
But compilation fails with
.pio/libdeps/skh3/littlefs/runners/bench_runner.c:22:10: fatal error: execinfo.h: No such file or directory
#include <execinfo.h>
^~~~~~~~~~~~
compilation terminated.
‘runners’ seems to be test code so I don’t want to compile it at all. Can I exclude this dir through build_src_filter? Or can I control the compilation of the library some other way without copying the repo source files to my project?