Page 2 of 2

Re: LVGL 9.1.0 and lvgl_esp32_drivers compile errors

Posted: Sun Mar 09, 2025 1:55 am
by electronicsguy
No, I am still strugling. I do not understand, why all documentation states, that ST7789 and LVGL should go together easily with ESP32, when it is so difficult to get to work. No online examples work, most of them will not even compile, the documentation is incomplete. It seems like a mess of new libraries, old drivers, strange files to include or not to include, and a more or less undocumentet implementation via the menuconfig.

I consider myselv relatively skilled in ESP32, and have done some big project, with a lot of selv-implemented drivers and hardware. But this is simply over my head. I used countless hours, getting nowhere.

Do anybody have an example of a simple HELLO WORLD, that works on a ST7789, using the built in LVGL library?
I will give a beer for a working example.....

Hardware used: ESP32-S3-N16R8V
Platform: ESP-IDF
Editor: VSCODE with PlatformIO plugin

I would like to avoid any Arduino libraries, and not to use Arduino platform. I switched to EDP-IDF some years back, and I feel I have a lot more control over the hardware, using ESP-IDF.
agreed. the whole LVGL + arduino + any board is just a mess. Nothing found online compiles. There are too many API changes from LVGL v8 to v9 which breaks a lot of stuff. poor documentation and standard examples.

Re: LVGL 9.1.0 and lvgl_esp32_drivers compile errors

Posted: Thu Mar 27, 2025 9:13 pm
by karunt
Does anyone know of any good alternatives to LVGL? I'm working with ESP32-S3 WROOM and need to display images in jpeg and png formats. LVGL documentation is not really helpful and I can't get things to display on my ST7701 driver based display unless I first manually convert an image into LVLG's preferred .bin format and have that image readily available, which is not a long-term viable process. Or if you've managed to make something like this work (ie, send over jpeg/png data to a buffer in esp32-s3 external PSRAM, and then get lvgl to display that on a ST7701 LCD), appreciate some feedback on how to proceed. Thanks.

Re: LVGL 9.1.0 and lvgl_esp32_drivers compile errors

Posted: Tue Apr 01, 2025 1:48 am
by chegewara
With LVGL you should be able to display jpeg and png images, as there is option in menuconfig to enable decoder for each.
Screenshot from 2025-04-01 03-36-46.png
Screenshot from 2025-04-01 03-36-46.png (35.33 KiB) Viewed 559 times
Also this is what i can find with "espressif" AI bot
https://docs.espressif.com/projects/esp ... ank-screen
https://github.com/espressif/esp-idf/tr ... /lcd/tjpgd

This is interesting
https://docs.espressif.com/projects/esp ... coder.html
Screenshot from 2025-04-01 03-46-37.png
Screenshot from 2025-04-01 03-46-37.png (97.16 KiB) Viewed 559 times