Port display_gif_sd and display_speed_wifi to LVGL 9.6 + shared library

- both use shared/jc3636w518.ini, board library and perf monitor
- GIF decoded in the display color format, loop delay 1 ms,
  per-loop memory prints removed
- lv_conf: LVGL drive A: = SD card via LV_USE_FS_STDIO (/sdcard/)
- shared/README.md, CLAUDE.md and project README updated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
patriandClaude Opus 5.5 committed 2026-10-23 01:37:29 +02:00
1 parent 6e7206b821
commit 55e27b6572
15 files changed
+125 -2488

No files matched your search

+4 -6
View File
@@ -31,14 +31,12 @@ pio run -d elmulator -e wifi -t upload --upload-port COMxx
(`pio` = `%USERPROFILE%\.platformio\penv\Scripts\pio.exe` if not on PATH.)
## Configuration
- **JC3636W518 projects:** pioarduino platform `51.03.05` (= Arduino core 3.0.5), board `esp32-s3-devkitc-1` with 16 MB QIO flash, OPI PSRAM, `huge_app.csv` (3 MB app), USB-CDC on boot, COM21.
Libraries come from the vendor folder via `lib_extra_dirs = ../../2-Program Example/Demo_Arduino/library`.
Each project uses its **own `include/lv_conf.h`** (`-DLV_CONF_INCLUDE_SIMPLE -Iinclude`):
- `display_speed_wifi`: LVGL heap 4 MB in PSRAM (`ps_malloc`)
- `display_gif_sd`: LVGL heap 7 MB in PSRAM
- **JC3636W518 projects** (`display_*`): **LVGL 9.6.0** and the shared board library/config in `../shared` (see `shared/README.md`). Each `platformio.ini` only extends `shared/jc3636w518.ini`; `display_gif_embedded` additionally uses `default_16MB.csv`.
All three print `FPS / refresh / other / CPU` once per second on serial (115200).
- **Classic ESP32 projects:** official `espressif32@6.10.0` (Arduino core 2.0.17), board `esp32dev`, `huge_app.csv`. Set `upload_port` to the classic ESP32's COM port.
Bridge libraries: `powerbroker2/ELMduino@3.4.1`, `esphome/ESPAsyncWebServer-esphome@3.4.0`.
## Notes
- `src/montserrat_100.c` (100 px digits font) is present but not referenced by any sketch yet.
- SD-based GIFs use LVGL drive `A:` = `LV_USE_FS_FATFS` (reads through ESP-IDF FatFS on the SD_MMC mount). Not yet verified on hardware.
- SD-based GIFs use LVGL drive `A:` = `LV_USE_FS_STDIO` on `/sdcard/` (the SD_MMC mount). Not yet verified with LVGL 9 on hardware (SD card was stuck during the port).
- `display_speed_wifi` polls `/speed` with a blocking HTTP request on every loop pass (unchanged from 2024) — slows the UI when WiFi is connected.