mirror of
https://github.com/skoelle/wt32sc01-dashboard.git
synced 2026-09-17 17:30:25 +00:00
Phase 0: platformio.ini for esp32-s3 + LovyanGFX/LVGL9
- Replace m5stack-core-esp32 env with wt32-sc01-plus (freenove_esp32_s3_wroom board as closest N8R8 PSRAM match; WT32-SC01 Plus has no built-in board ID) - 8MB partition table, USB CDC, PSRAM build flags - lib_deps: LovyanGFX, lvgl@^9.2, ArduinoJson - Add LV_CONF_INCLUDE_SIMPLE + project root include path so LVGL finds lv_conf.h - lv_conf.h from lvgl 9.5 template, enabled (0 -> 1) - include/board_pins.h: WT32-SC01 Plus reference pinout (ST7796 8-bit parallel + FT6336U I2C touch), to be verified against concrete board revision
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
[env:wt32-sc01-plus]
|
||||
platform = espressif32
|
||||
board = freenove_esp32_s3_wroom
|
||||
framework = arduino
|
||||
monitor_speed = 115200
|
||||
board_build.partitions = default_8MB.csv
|
||||
board_build.filesystem = none
|
||||
upload_speed = 921600
|
||||
|
||||
build_flags =
|
||||
-DCORE_DEBUG_LEVEL=1
|
||||
-DARDUINO_USB_MODE=1
|
||||
-DARDUINO_USB_CDC_ON_BOOT=1
|
||||
-DBOARD_HAS_PSRAM
|
||||
-DARDUINO_RUNNING_CORE=1
|
||||
-DARDUINO_EVENT_RUNNING_CORE=1
|
||||
-DLV_CONF_INCLUDE_SIMPLE
|
||||
-I${PROJECT_DIR}
|
||||
|
||||
lib_deps =
|
||||
lovyan03/LovyanGFX@^1.2.0
|
||||
lvgl/lvgl@^9.2.0
|
||||
bblanchon/ArduinoJson@^6.21.5
|
||||
Reference in New Issue
Block a user