Tasmota/lib/libesp32_lvgl/lvgl/README_Tasmota.md
s-hadinger ff6be70ce1
LVGL library updated to v9.0.0, some small breaking changes in C, none in HASPmota (#20659)
* LVGL library updated to v9.0.0, some small breaking changes in C, none in HASPmota

* fix compilation

* Move lvgl_berry to LVGL_assets
2024-02-05 12:07:41 +01:00

957 B

Tasmota patches

Following patches need to be applied when updating LVGL:

src/extra/libs/lv_extra.c

Comment the lv_freetype_init() portion. The actual initializatio is done in Tasmota code because parameters depend on Tasmota defines and presence of PSRAM.

// TASMOTA Specific, the initialization is done in Tasmota code to adjust with PSRAM
// #if LV_USE_FREETYPE
//     /*Init freetype library*/
// #  if LV_FREETYPE_CACHE_SIZE >= 0
//     lv_freetype_init(LV_FREETYPE_CACHE_FT_FACES, LV_FREETYPE_CACHE_FT_SIZES, LV_FREETYPE_CACHE_SIZE);
// #  else
//     lv_freetype_init(0, 0, 0);
// #  endif
// #endif

lv_spinner

Both function arc_anim_start_angle() and arc_anim_end_angle() are made non-static. This allows to search for lv_anim object based on their exec_cb callbacks and change properties on-the-fly.

LVGL 9

Temporarily rename lv_image_set_inner_align to lv_image_set_inner_align until solved in LVGL repo.