Description
Can somebody provide a simple way to setup LittleFS and read a file.
What MCU/Processor/Board and compiler are you using?
LilyGo T-RGB ESP32S3 16mb flash
What LVGL version are you using?
8.4 (limit of LilyGo environment)
What do you want to achieve?
Setup LittleFS and read a file
What have you tried so far?
Everything in my power… all possible permutations in lv_conf.h, bad examples, chatgpt, grok
I’m working in Arduino IDE, managed to upload files (text and images) using plugin.
I managed to read files from SD card (but SD cards break, need something more solid).
Manged to setup LittleFS without LVGL environment, worked great … but when I tried to put it all together nothing worked properly (overlapping libraries … could not include <LittleFS.h>)
Nothing worked without #define LV_USE_FS_POSIX 1
I got LV_FS_RES_NOT_EX or LV_FS_RES_UNKNOWN trying to list “/” (so there is something)
I could not write files (LV_FS_RES_NOT_EX)
I see that people manage to make LittleFS work, God bless you!
I would prefer LittleFS to FatFS because I can upload with that plugin … but at this moment I would like anything (as a worst case scenario I can download files with HTTP … that works