Updating SenseCap Indicator ESP-IDF Template to LVGL 9 and ESP-IDF 6

Hi everyone,

We are currently working with the Seeed SenseCap Indicator and started with the Indicator ESP-IDF template.
This template is based on LVGL 8 and an older version of ESP-IDF.
We tried updating to LVGL 9 and ESP-IDF v6.0.
However, we are running into a couple of major issues:

  • LVGL 9 Crashes: We’ve attempted to manually create our custom LVGL port from version 8 to 9. While it compiles, we’re experiencing random system crashes.
  • ESP-IDF v6.0 Build Errors: The project no longer builds because several includes are now deprecated (e.g. driver/i2c.h and driver/adc.h).

My main question is: Is there any plan from Seeed to update the Indicator ESP-IDF template to support LVGL 9 and ESP-IDF v6.0? Or is the template no longer being actively maintained?
We are trying to figure out if we should continue down this path or look for alternative solutions.
Any insights from the community or Seeed staff would be greatly appreciated.

Thanks!

Hi There,

So LVGL is hard on ram with my experiences, Version 9 even more so… I don’t use ESP-IDF, the LLM shows it also.

Hard-Capped LV_MEM_SIZE: If they just copied over their old lv_conf.h from the v8 template, they likely have a fixed LV_MEM_SIZE (like 32KB or 64KB) that worked perfectly before but is now being instantly exhausted by v9’s larger footprint. When LVGL 9 runs dry, it often fails to allocate draw buffers and triggers assertion errors or hard crashes, rather than failing gracefully.

You need PSRAM in your project if the config from 6.0 is not using it for heap it will crash. :crossed_fingers:

Try to set LV_LOG_LEVEL to LV_LOG_LEVEL_INFO. By default, LVGL 9 hides some memory allocation warnings that could pinpoint exactly where the crash is originating! :+1:

HTH
GL :slight_smile: PJ :v: