Overview
Developing LVGL applications for the ESP32 series with ESP-IDF, the ready-to-use board projects, and the graphical peripherals LVGL supports.
About
Espressif Systems is a fabless chip manufacturer that produces the ESP32 series of systems on chip. These chips can be based on Xtensa or RISC-V architectures, and they feature the common set of analog and digital peripherals of a general purpose microcontroller combined with a radio subsystem capable of running a Bluetooth and/or a Wi-Fi stack.
Espressif also provides a comprehensive software development kit (SDK), the IDF, so that users can focus only on their applications. All other 3rd party support, such as Arduino, Zephyr, NuttX and MicroPython, is built on top of the IDF or some of its components.
Application Development
LVGL is supported by Espressif's SDK, the IDF. Beyond that, the ESP32 series of chips is supported in several other frameworks, which Espressif calls 3rd party projects.
This section covers using LVGL with the ESP-IDF software development kit. If you use one of the other frameworks that LVGL supports, start from its own page instead:
On the pages above you can find the getting-started instructions for those platforms, where the ESP32 and other chips are abstracted by the framework.
Ready-to-Use Projects
For a quick start with LVGL and ESP32, LVGL maintains a demo project compatible with several ESP32 boards under its LV Port for ESP32.
Refer to the README.md files in this repository for quick build and flash instructions.
These demo projects use Espressif's Board Support Packages (BSPs). Additional BSPs and examples are available in the esp-bsp repository.
LVGL Support for ESP32 Graphical Peripherals
Some ESP32 chips, like the ESP32-P4 family, have built-in support for driving displays through standard interfaces like RGB and MIPI. ESP-IDF provides the necessary drivers, leaving it to the user to integrate them into the LVGL display subsystem.
Via its component manager, Espressif provides a ready-to-use LVGL porting component, which is the recommended way of connecting the input and output devices of an ESP32 chip to LVGL. That component is covered in Add LVGL to an ESP32 IDF project.
Besides the display controller, some ESP32 chips offer graphical hardware acceleration peripherals:
Last updated on