LVGL + Telink TL7218

Hi.
I made an attempt to connect the LVGL library to the project for the Telink semi TL7218 production controller and encountered the problem of a huge number of compilation errors. For example, an error is generated on typecast


static lv_coord_t get_angle(const lv_obj_t * obj)
{
lv_arc_t * arc = (lv_arc_t *)obj;


typecast [const type] => [type] causes compilation error.
Has anyone encountered a similar problem and, if so, is there a solution? Maybe there is already a solution?

Hi!

Could you try adding this to you build command on your environment?

-Wno-error=cast-qual