Strip TF and audio; keep touch-only screen test UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-17 18:34:19 +08:00
parent 87058272eb
commit f2b14eb30f
14 changed files with 104 additions and 714 deletions

View File

@@ -1,21 +0,0 @@
#pragma once
#include <Arduino.h>
struct SdCardInfo {
bool mounted;
bool present;
const char *type; // MMC / SDSC / SDHC / UNKNOWN / NONE
const char *filesystem; // FAT12 / FAT16 / FAT32 / exFAT / FAT / —
uint64_t card_bytes; // 卡物理容量
uint64_t total_bytes; // 分区总容量
uint64_t used_bytes;
uint64_t free_bytes;
uint32_t root_files; // 根目录条目数
String error; // 失败原因
};
bool sd_init();
void sd_deinit();
SdCardInfo sd_read_info();
String format_bytes(uint64_t bytes);