I fond this Post but it did not work for me !
Hello
I tried this with no Success. I use PlatformIO and lvgl/lvgl@^8.3.11
What I did so far, I changed
in lv_conf.h #define LV_USE_FS_FATFS 1 #define LV_FS_FATFS_LETTER ‘S’ #define LV_USE_SJPG 1
then I get Error
.pio/libdeps/cyd/lvgl/src/extra/libs/fsdrv/lv_fs_fatfs.c:228:35: error: ‘DIR’ undeclared (first use in this function); did you mean ‘DDR’?
I also changed
//#include “ff.h” #include “…/…/…/…/…/FatFs/src/ff.h”
in lv_fs_fatfs.c
then I don’t know what to do!