Initial CYD TF card info display with LVGL.

Mount microSD on VSPI and show type, format, and capacity on the CYD screen.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-17 17:29:51 +08:00
commit 23956897fa
11 changed files with 1650 additions and 0 deletions

15
include/pins.h Normal file
View File

@@ -0,0 +1,15 @@
#pragma once
// CYD ESP32-2432S028R 引脚
// TFT (HSPI / TFT_eSPI 已在 platformio.ini 配置)
#define TFT_BL_PIN 21
// TF / microSD (独立 VSPI)
#define SD_MISO 19
#define SD_MOSI 23
#define SD_SCK 18
#define SD_CS 5
#define SCREEN_WIDTH 240
#define SCREEN_HEIGHT 320