lvgl / lv_port_renesas_ek-ra8d1

0 stars 3 forks source link

[ek_ra8d1] The Analytics screen of the widgets demo is flickering with O0 optimization #2

Closed kisvegabor closed 6 months ago

kisvegabor commented 6 months ago

As the tile says

jeremy-baker commented 6 months ago

when vsync_wait is used with lv_display_set_flush_wait_cb(), with low compiler optimisation, vsync_wait() returns before the GLCDC has switched the buffer it is displaying. In this case, vsync_wait() needs to wait for the GLCDC to switch buffers, then wait for a VSYNC interrupt.

jeremy-baker commented 6 months ago

I pushed a fix to the project for the flicker issue.

https://github.com/lvgl/lv_renesas/commit/3068a48209a1f1440547c148321660f10b5a9fc4

kisvegabor commented 6 months ago

It working well now, thank you!