LVGL
More info
- Creator
- Gábor Kiss-Vámosi
- Released
- 2016
- Type
- Graphics library
- License
- MIT
- Source
- github.com/lvgl/lvgl
A C graphics library that gives a microcontroller with a few dozen kilobytes of RAM buttons, lists, charts and animations.
Gábor Kiss-Vámosi released it in 2016 as LittlevGL; it became LVGL in 2020. It draws anti-aliased buttons, sliders, charts and text fields with themes and animations, and asks nothing more of the hardware than a function that can push a rectangle of pixels to the screen. A full framebuffer is optional: LVGL renders into a smaller buffer piece by piece, and with two of them one can be shipped out over DMA while the next is drawn.
It has become the de facto choice for touchscreens on the ESP32, STM32 and their peers — the reason a thermostat can look like a phone. The MIT licence explains why so many vendors picked it over commercial toolkits. The usual surprise is that the display bus, not the CPU, ends up setting the frame rate.