I want to use the FatFS library in my project. I installed it, by adding it to the lib_deps
in the configuration file. It installed successfully (afaik).
Upon building it throws errors like: inc/main.h:56:10: fatal error: ff_gen_drv.h: No such file or directory
Why doesn’t it find the header file? It is referenced from my projects header file (main.h). And the file certainly is in the <PIO-project-root>/.piolibdeps/FatFs_ID1805/src/
folder.
I tried changing lib_ldf_mode to all possible values - still doesn’t help. What should I try next?
My platformio.ini file:
[platformio]
env_default = disco_f746ng
build_dir = pio_builds
include_dir = inc
[env:disco_f746ng]
platform = ststm32
board = disco_f746ng
framework = stm32cube
lib_extra_dirs =
/home/jure/Projects/ARMdev_stuff/STM32Cube_FW_F7_V1.11.0/Drivers/BSP
upload_protocol = stlink
lib_deps =
FatFS
And project structure: