LVGL Backend

[中文]

brookesia_gui_lvgl is the LVGL backend implementation of brookesia_gui_interface. It maps the resolved JSON UI document model to LVGL objects and provides build-time image packaging.

Scope

  • Project integration of the LVGL backend

  • Build-time packaging of PNG into LVGL image .bin

  • Preloading and caching behavior of .bin images in the backend

For the JSON UI protocol itself, see GUI Interface.

Documents in This Group

Document

Content

When to use

LVGL Json UI Backend Notes

Mapping from the resolved JSON UI model to the LVGL API, .bin preload, backend pump

Troubleshooting LVGL backend behavior

LVGL Image Packaging

brookesia_gui_lvgl_pack_images(), LVGLImage.py parsing, Python dependencies

Packaging PNG resources into package / SPIFFS

Note

Maintainer sync check: when editing cmake/image_pack.cmake, sync LVGL Image Packaging; when changing .bin preload, caching strategy, or JSON UI field mapping, sync LVGL Json UI Backend Notes.