Commit Graph
3 Commits
Author SHA1 Message Date
morris 3f1731ca83 refactor(lcd): use LZ4-compressed binary images in i80_controller example
- Remove the EXAMPLE_LCD_IMAGE_SOURCE Kconfig option (embedded binary vs
  file system) and always load images from LittleFS.
- Convert the PNG images into LZ4-compressed LVGL binary images (.bin)
at
  build time using LVGLImage.py, and flash them to a LittleFS partition.
- Upgrade lvgl to 9.6.0 and add the espressif/lz4 component; link the
external LZ4 library into lvgl.
- Split the example: main.c focuses on the esp_lcd i80 API, while the
LVGL
  porting (lvgl_port.c) and the UI (lvgl_demo_ui.c) live in separate
files.
- Rework the demo animation to use the LVGL animation engine (lv_anim)
with
  easing paths instead of a manual software timer for smoother
rendering.
- Remove the embedded C image arrays (esp_logo.c, esp_text.c) and the
  obsolete sdkconfig.ci.image_in_{bin,fs} variants.
2026-09-18 14:43:23 +08:00
Chen Jichang fb81acb206 fix(i80_controller): fix example crash when using filesystem
- Replace SPIFFS with LittleFS as the preferred
  NOR flash file system
- Expand the Image Resource section in README with
  detailed file system documentation
- Add pytest_i80_controller_lvgl.py to test both
  image_in_bin and image_in_fs configurations
- Increase LVGL task stack size from 4KB to 8KB to
  prevent stack overflow when loading images from FS
- Add CONFIG_LV_USE_CLIB_MALLOC to sdkconfig.defaults

Made-with: Cursor
2026-04-20 11:03:28 +08:00
Chen Jichang 0f4605e991 refactor(i80_lcd): adapt example to lvgl9 2024-12-04 14:50:16 +08:00