- Add WT32-SC01 V1 (ESP32-WROVER, 480x320 LCD) as second board option - Split ESP32 code into epaper/ and lcd/ subdirectories - LCD version: LovyanGFX, color display, touch-to-refresh, no deep sleep - Add display_type, width, height to displays table (migration 003) - Frontend: display type selector with predefined resolutions - Preview and layout editor now use dynamic resolution from display Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
39 lines
1.2 KiB
INI
39 lines
1.2 KiB
INI
[platformio]
|
|
default_envs = wt32-sc01
|
|
|
|
; ── Shared settings ──────────────────────────────────────────────────────────
|
|
[env]
|
|
platform = espressif32
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
lib_deps =
|
|
bblanchon/ArduinoJson@^7.2.0
|
|
build_flags = -DBOARD_HAS_PSRAM
|
|
|
|
; ── Waveshare 7.5" E-Paper + ESP32 Driver Board ─────────────────────────────
|
|
[env:epaper]
|
|
board = esp32dev
|
|
lib_deps =
|
|
${env.lib_deps}
|
|
zinggjm/GxEPD2@^1.5.8
|
|
adafruit/Adafruit GFX Library@^1.11.10
|
|
adafruit/Adafruit BusIO@^1.16.1
|
|
build_flags =
|
|
${env.build_flags}
|
|
-DUSE_EPAPER
|
|
build_src_filter = +<*.cpp> +<epaper/>
|
|
board_build.partitions = default.csv
|
|
|
|
; ── WT32-SC01 V1 (ESP32-WROVER, 3.5" LCD 480x320, Touch) ─────────────────────
|
|
[env:wt32-sc01]
|
|
board = esp-wrover-kit
|
|
board_build.partitions = default.csv
|
|
lib_deps =
|
|
${env.lib_deps}
|
|
lovyan03/LovyanGFX@^1.1.16
|
|
build_flags =
|
|
${env.build_flags}
|
|
-DUSE_LCD
|
|
build_src_filter = +<*.cpp> +<lcd/>
|
|
upload_speed = 921600
|