Closed taxue-alfred closed 2 years ago
Can you update to the latest lvgl version? A few weeks ago we have merged the png and file system library to lvgl to make them work better together. See https://docs.lvgl.io/master/libs/png.html
Can you update to the latest lvgl version? A few weeks ago we have merged the png and file system library to lvgl to make them work better together. See https://docs.lvgl.io/master/libs/png.html
emm. I try LVGL8.1.0 on ESP32 with arduino, I init the SPI.h and SD.h
in fs_init()
function, but it warn me [E][sd_diskio.cpp:123] sdSelectCard(): Select Failed"
.
So LVGL file system can not work in lvgl8.1.0 well. But LVGL8.0.2 work good(lv_lib_png can not work).
So, I think the logic changed possibly which is using Fatfs
System?
In v8.1 you can enable the file system APIs too from lv_conf.h. So you don't need lv_fs_if.
Yes, I know. I meant I had used the file system APIs from lv_conf.h in LVGL8.1. But it not work. lv_fs_if can work in LVGL8.0.2.
How do you mean "not work"? What happens exactly?
Some questions to see what could be the problem:
lv_fs_...
API? If not please send a code to reproduce the issue. lv_conf.h
look like? Emmmm, That is my personal problem!!!!! I am so sorry!!! I find i need VSPI
but transfered HSPI
which had used by LVGL...
Thank you answer again!!!
I am having this weird problem with SD card. I am using M5 Core 2 and lv_Arduino library for lvgl graphics. My SD card is initialized properly and i can read the files. The problem occurs when i read the list the files using lvgl more than couple of times. I can see that if i keep my touch enabled on any lvgl object for long time, it troubles with my SD card module and i get this error "sdSelectCard(): Select Failed". For example, if i keep my touch on any list for long time but do not select any option, and then try to access my Sd card. i get the above error.
One more clarification i need is, if i use
lv_obj_t *win = lv_win_create(lv_scr_act(), NULL)
Will this create an issue? and on closing the window, is it automatically destroyed?
I am having this weird problem with SD card. I am using M5 Core 2 and lv_Arduino library for lvgl graphics. My SD card is initialized properly and i can read the files. The problem occurs when i read the list the files using lvgl more than couple of times. I can see that if i keep my touch enabled on any lvgl object for long time, it troubles with my SD card module and i get this error "sdSelectCard(): Select Failed". For example, if i keep my touch on any list for long time but do not select any option, and then try to access my Sd card. i get the above error.
One more clarification i need is, if i use
lv_obj_t *win = lv_win_create(lv_scr_act(), NULL)
Will this create an issue? and on closing the window, is it automatically destroyed?
The img show normally When you use the <IMG_NAME>.bin
?
Your No.2 question I do not know. But I recommand you to delete it manually.
I am having this weird problem with SD card. I am using M5 Core 2 and lv_Arduino library for lvgl graphics. My SD card is initialized properly and i can read the files. The problem occurs when i read the list the files using lvgl more than couple of times. I can see that if i keep my touch enabled on any lvgl object for long time, it troubles with my SD card module and i get this error "sdSelectCard(): Select Failed". For example, if i keep my touch on any list for long time but do not select any option, and then try to access my Sd card. i get the above error. One more clarification i need is, if i use
lv_obj_t *win = lv_win_create(lv_scr_act(), NULL)
Will this create an issue? and on closing the window, is it automatically destroyed?The img show normally When you use the
<IMG_NAME>.bin
?Your No.2 question I do not know. But I recommand you to delete it manually.
I read more about it. It seems the issue is related to SPI bus shared by SD card module and display on M5stack core 2.
Hello, I use the
lv_lib_png
have a problem. LVGL version: 8.0.1 First, I need to state steps before asking the question:lv_fs_if
in my project, and I am sure that it is available. Because I can load myqingtian.bin
used withlv_img_set_src
.#define LV_PNG_USE 1 #define LV_PNG_USE_LV_FILESYSTEM 1
at the end of 'lv_cong.h'.But Clion(platformio) remind#define LV_PNG_USE 1 #define LV_PNG_USE_LV_FILESYSTEM 1 is never used.
lv_obj_img
in my project."No data"
inweather_img
obj, It is wrong.So, I don`t know what happend? Where is the problem?