Newbie: Any benefits of migrating lvgl code from Arduino to IDF?

Less_is_more
Posts: 4
Joined: Fri Dec 29, 2023 8:56 am

Newbie: Any benefits of migrating lvgl code from Arduino to IDF?

Postby Less_is_more » Fri Dec 29, 2023 9:10 am

Greetings everyone.
I am a newbie as ESP32. I am given this project running on ESP32S3 with 8MB of flash and 8MB of PSRAM. I have created a very simple design with only 3 screens on Squareline Studio. I flashed the code to my ESP32S3 using the Arduino framework. By default, this setup is using TFT_espi as a driver. My screen is a basic 240x320 using ILI9341. All examples from TFT_espi are running blazing fast. But my lvgl code is way slow... I will finally make the transition from Arduino to IDF (through Platform.io) but at the moment, because of the deadlines I would prefer to simply deliver on time. But, going through my book "Developing IoT Projects with ESP32 - Second Edition" and the lvgl documentation, I see that lvgl can be used as an IDF component. So, after this long intro, my question boils down to:

Does moving my code to IDF could provide any performance benefits? Will the need for TFT_espi as a driver be omitted, thus leading to a layer less?
Mind, that I have played with PSRAM yet, so I don't know if my code uses it (probably not) and the code at the moment does nothing more.

Thanks in advance.

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], SegmentationFault and 121 guests