Description
Implemention Openweather icons
What MCU/Processor/Board and compiler are you using?
Plaformio and esp32 8MB dev Kit
What LVGL version are you using?
Version 8.3
What do you want to achieve?
I placed all icons of openweather into a partition on the esp32, when receiving the weather icon, i create the correct path+file so i can load it to the display via lv_img_set_src.
What have you tried so far?
See code below
Code to reproduce
char IconFileName[20];
strcpy(IconFileName,“A:/images/”);
strcat(IconFileName,data.icon);
strcat(IconFileName,“_t@2x.png”);
ESP_LOGI(“eee”,“string %s”,IconFileName); //displays the correct path+filename
//lv_img_set_src(ui_PNGIcon2, “A:/images/02d_t@2x.png”); // loads a test icon , this is working
lv_img_set_src(ui_PNGIcon2, IconFileName); → produces the next error : Stack smashing protect failure!
Hope that you can help