2021-03-13 03:18 AM
2023-09-04 01:18 AM
It's a shot in the dark after two years, but.. did you manage to make it work with GUIDRV_FLEXCOLOR_M16C1B8? I have the same issue, when selecting GUIDRV_FLEXCOLOR_M16C1B8 the screen gets all messed up.
Should I initialize the cache somewhere?
2023-09-06 12:59 AM - edited 2023-09-06 01:00 AM
Oh well, In case another one stumbles upon this thread while searching for answers, for me the solution was to change GUI_NUMBYTES to allocate enough memory to include the cache. So you have to include 500B for the driver to work, the size of the line buffer (LCD_XSIZE × ((BitsPerPixel + 7) ÷ 8)) and the size of the cache (LCD_XSIZE × LCD_YSIZE × BytesPerPixel)
Hope this helps someone