I'm wondering what GUI (for smaller TFT screens) frameworks are available for the ESP32.
I've had a look at LVGL - which seems to have some support through 'https://github.com/lvgl/lv_port_esp32'.
However that driver library seems to be stale/dead: Stuck on an old version (ESP-IDF 4.2) and also very limited recent activity.
I've also looked at more basic libraries (e.g. HAGL) but there are limitations in what screens / driver chips they have drivers for.
Any advice on how to proceed here? Any GUI Frameworks that are well supported on ESP-IDF (including plenty of TFT screen drivers)?
GUI Framework for ESP-IDF
-
- Posts: 9739
- Joined: Thu Nov 26, 2015 4:08 am
Re: GUI Framework for ESP-IDF
We have lvgl as a component on components.espressif.com, you can simply add that to your project.
Re: GUI Framework for ESP-IDF
Thanks for the tip!
Found it, tried it, but unfortunately the documentation is very weak so I was unable to get it working.
In the end, I used LVGL as a framework. Added it as a component, then wrote a customer ILI9341 driver and registered it in LVGL. Turned out to be the easiest path forward.
Found it, tried it, but unfortunately the documentation is very weak so I was unable to get it working.
In the end, I used LVGL as a framework. Added it as a component, then wrote a customer ILI9341 driver and registered it in LVGL. Turned out to be the easiest path forward.
Re: GUI Framework for ESP-IDF
In addition to lvgl/lvgl component, there's also an esp_lvgl_port component (https://components.espressif.com/compon ... _lvgl_port) which builds on top of esp_lcd component (https://docs.espressif.com/projects/esp ... s/lcd.html).
I would recommend checking out how these components are used in https://github.com/espressif/esp-bsp. This project has several examples for Espressif development boards which should be relatively easy to adapt.
I would recommend checking out how these components are used in https://github.com/espressif/esp-bsp. This project has several examples for Espressif development boards which should be relatively easy to adapt.
Who is online
Users browsing this forum: Bing [Bot] and 102 guests