how to port lvgl to the plaftformio (esp-idf framework)

Hi everyone, I’m currently encountering a challenge in determining whether I am on the right way porting LVGL to the PlatformIO using the ESP-IDF framework. My goal is to display widgets on a TFT display. Below, I’ve outlined the procedure I followed to port LVGL to the PlatformIO (ESP-IDF framework): Step 1: I will download the lvgl library and lv_port_esp32 from lvgl GitHub as shown at the image: Step 2: I will download the display driver and touch controller driver from GitHub as shown below: https://github.com/lvgl/lvgl_esp32_drivers Step 3: I only place certain folders on the Platformio lib project file which display and touch driver c file and header, example folder copy from lvgl GitHub, src folder from lvgl GitHub, and licence.txt & lv_conf_template.g and lvgl.h from lvgl GitHub. File tree as show at the image : step4 : I am not sure how to include those into cmake or platformio ini file actually I am not sure need include those library whather into cmake or platformio ini Below is my cmake file and platformio ini : I hope someone can give me some guidance what is the proper way to use lvgl on platoformio (esp-idf framework).
GitHub
GitHub - lvgl/lvgl_esp32_drivers: Drivers for ESP32 to be used with...
Drivers for ESP32 to be used with LVGL. Contribute to lvgl/lvgl_esp32_drivers development by creating an account on GitHub.
No description
No description
No description
No description
No description
11 Replies
techielew
techielew10mo ago
@abhishek awasthi @Aditya thakekar @Umesh Lokhande have you worked on lvgl?
Aditya thakekar
Aditya thakekar10mo ago
There is a setting in cmake fils Checking your pics Have you created components? Clone esp32 drivers in components directory This is just a cmake and directory error
Aditya thakekar
Aditya thakekar10mo ago
GitHub
GitHub - lvgl/lv_port_esp32: LVGL ported to ESP32 including various...
LVGL ported to ESP32 including various display and touchpad drivers - GitHub - lvgl/lv_port_esp32: LVGL ported to ESP32 including various display and touchpad drivers
Aditya thakekar
Aditya thakekar10mo ago
Try this once Instructions are given on readme
techielew
techielew10mo ago
Awesome, @Aditya thakekar. @kingrom does this help?
Aditya thakekar
Aditya thakekar10mo ago
:salute: hopefully it should
abhishek awasthi
abhishek awasthi10mo ago
actually i haven't although i have an idea about it but never devolved using it ..... the development on custom ui is paid right ? .... also like can someone suggest a mipi based display which may be small in size but is cheap like less than 1 k in India
techielew
techielew10mo ago
I can't answer the display question but i think the cost (paid) is the answer to your question in the chat about why fewer people opt for qt or lvgl
abhishek awasthi
abhishek awasthi10mo ago
yea more of a people working in commercial watches and displays ...
QQ
QQOP10mo ago
Hi Aditaya, Thank you it work actually I am using platformio ini file to include the file directory 👍 YES thank you
QQ
QQOP10mo ago
Actually I am using GT911 touch controller but i am facing a problem to use the I2C manager.c file provided by the lvgl_esp32_driver github may i know how to use it i am still confusing
No description
Want results from more Discord servers?
Add your server