Running LVGL V9.2 with monochrome displays

Description

I am trying to run LVGL V9.2 on STM32H7 with a monochrome display from Newhaven - 128x128 ST7528. As per the documentation, rendering for monochrome displays seems to be supported. I just cannot find the proper documentation to implement the flush callback for this display.
Can any one give me a direction here?
Thanks.

By the way I am able to run the simulator with the monochrome setting correctly. So it seems the graphics library is all setup to work with monochrome displays. Just the flush_cb() needs to be implemented for which I need to know what will be the contents of the draw buffer which I can modify and send to the display over SPI.

What MCU/Processor/Board and compiler are you using?

STM32H7, Custom board, ARM GCC Compiler.

What LVGL version are you using?

V9.2

What do you want to achieve?

Know how the draw buffer will be rendered for monochrome displays so that I can implement the flush callback.

What have you tried so far?

  • Reading similar topics on this forum.
  • Scanning trough the latest documentation.
  • Went through multiple stale articles, forum posts and github issues regarding this issue but due to LVGLs major version changes many things have become obsolete and are not applicable. Hence I am seeking clear information here.
  • Was able to display text on the ubuntu+sdl simulator selecting monochrome theme and other settings hence trying to make it work on hardware.
1 Like

Hi,
Does anyone have any hint about how the frame buffer is rendered in V9.2 for monochrome LCDs?