I found a solution, instead of:
const lv_img_dsc_t indo_480_320_http = {
.header.always_zero = 0,
.header.w = 480,
.header.h = 320,
.data_size = 76864,
.header.cf = LV_IMG_CF_INDEXED_4BIT,
.data = indo_480_320_http_map,
};
Use:
const lv_img_dsc_t indo_480_320_http =
{
{
LV_IMG_CF_INDEXED_4BIT,
0,
2,
480,
320
}
76864,
indo_480_320_http_map,
};
This way the Compiler understands