Add shared JC3636W518 board library and PlatformIO config

- shared/lib/JC3636W518: display/touch/backlight init with LVGL 9 glue
  (from scr_st77916.h), pin map, perf monitor (FPS/refresh/CPU)
- shared/include/lv_conf.h: LVGL 9.6 config for all projects
- shared/jc3636w518.ini: common platform/board/build settings
- display_gif_embedded uses it (23.2 fps, 86% CPU)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
patriandClaude Opus 5.5 committed 2026-10-23 01:11:02 +02:00
1 parent 9684ab39f2
commit d6982ab7e7
14 files changed
+799 -2357

No files matched your search

@@ -1,34 +1,12 @@
; JC3636W518 — ESP32-S3R8, 16 MB QIO flash, 8 MB OPI PSRAM, 360x360 ST77916 QSPI + CST816S
; Settings mirror the vendor Arduino IDE setup (2-Program Example/Demo_Arduino/docs/Arduino set up.png)
[env:jc3636w518]
; pioarduino = Arduino core 3.0.5 (ESP32_Display_Panel 0.1.4 needs core 3.x)
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip
board = esp32-s3-devkitc-1
framework = arduino
board_build.arduino.memory_type = qio_opi
board_build.flash_mode = qio
board_upload.flash_size = 16MB
; GIF compiled into firmware -> 3.4 MB, too big for huge_app (3 MB); 6.25 MB app slots
board_build.partitions = default_16MB.csv
; optimise for speed instead of size (faster GIF decoding)
build_unflags = -Os
build_flags =
-O2
-DBOARD_HAS_PSRAM
-DARDUINO_USB_CDC_ON_BOOT=1
; LVGL (also when compiled as a library) picks up include/lv_conf.h of this project
-DLV_CONF_INCLUDE_SIMPLE
-Iinclude
; vendor-bundled libraries: ESP32_Display_Panel 0.1.4, ESP32_IO_Expander 0.0.2
; (the vendor folder also has lvgl 8.3.11 - ignored here, this project uses LVGL 9 from lib_deps)
lib_extra_dirs = ../../2-Program Example/Demo_Arduino/library
lib_deps = lvgl/lvgl@9.6.0
upload_port = COM21
monitor_port = COM21
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
; GIF compiled into the firmware — JC3636W518, common settings in shared/jc3636w518.ini
[platformio]
extra_configs = ../../shared/jc3636w518.ini
[shared]
dir = ../../shared
[env:jc3636w518]
extends = jc3636w518
; GIF compiled into firmware -> 3.5 MB, too big for huge_app (3 MB); 6.25 MB app slots
board_build.partitions = default_16MB.csv