Description
First problem:
When I load jpeg image from sdcard everything gets slow, arc is sluggish, text scroll is choppy, when I remove image it’s back to speed.
Second problem:
I managed to make FFat working. I was able to init, format and read directories with lv_fs_dir_open … files too
FFat folders are A:/ffat/ and S:/ (same data, just different letter)
lv_conf.h
#define LV_USE_FS_FATFS 1
#if LV_USE_FS_FATFS
#define LV_FS_FATFS_LETTER 'S'
#define LV_FS_FATFS_CACHE_SIZE 0
#endif
I can not load a jpeg image with lv_img_set_src(ui_imageWidget, path);
(again, I can if it’s on sdcard)
Files on sdcard and flash (ffat) are identical, I was able to read it with lv_fs…
I was digging through lv_img.c and for sdcard read I could trace width and height… for flash no
My guess is that it’s up to decoder, but my skill has serious limits there
What MCU/Processor/Board and compiler are you using?
ESP32 / LilyGo T-RGB / Arduino IDE
What LVGL version are you using?
8.4 (limited by T-RGB environment)
What do you want to achieve?
Load a jpeg image from FFat formatted flash