Export Pomodoro firmware archive and document web flasher.

Refresh firmware/cyd from the Pomodoro build and point README at cydweb for browser flashing.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-19 19:38:54 +08:00
parent 54a70d09e2
commit 5afe3971fe
5 changed files with 20 additions and 8 deletions

View File

@@ -17,3 +17,13 @@ pio run -e cyd -t upload --upload-port COM3
```
或 `firmware/cyd/flash.bat`。
浏览器刷写(推荐):在 [`../cydweb`](../cydweb) 运行 `npm run dev`,打开 http://localhost:3000 ,选择 **CYD Pomodoro**。
更新预编译包:
```powershell
.\firmware\export_from_build.ps1
# 仅复制已有构建:
.\firmware\export_from_build.ps1 -SkipBuild
```

View File

@@ -3,9 +3,11 @@
当前归档目录:[`cyd/`](cyd/)
对应板子:**CYD ESP32-2432S028R**(ILI9341)
功能:TF 卡信息 + 触屏扬声器控制
功能:**番茄钟(Pomodoro)** + 触控喇叭 + TF 状态
版本信息见 [`cyd/VERSION.txt`](cyd/VERSION.txt)。
也可在 [`../../cydweb`](../../cydweb)(CYD Flasher)里通过浏览器串口刷写本目录固件。
## 直接刷写(无需重新编译)
1. USB 连接板子

View File

@@ -1,8 +1,8 @@
name: CYD TF card + touch speaker (cyd)
git: 7c6eb9a
date: 2026-10-17
name: CYD Pomodoro (cyd)
git: 54a70d0
date: 2026-10-19
board: ESP32-2432S028R (ILI9341)
features: TF/SD info, SoftSPI touch, GPIO26 speaker
features: Pomodoro timer, SoftSPI touch, GPIO26 speaker, TF status
flash_size: 4MB
offsets:
0x1000 bootloader.bin
@@ -12,5 +12,5 @@ offsets:
sha256:
bootloader.bin 3D234A7471F67B013686DABD4DEE7C1FA915C9928463616A94BC9297ACF1ABF8
boot_app0.bin F94C5D786A7A8FAB06AC5D10E33BF37711A6697636DC037559EA19CC410A17F0
firmware.bin C2BD52279AFB3E40C45358CA05493EF0255F708858A3F5132417AEAC0B6EE25F
firmware.bin 4C064140E8F8E0D2DD55D0085F7974FA57CAF5A24DFFACC9B3ECF03B576A033B
partitions.bin 148B959CBFF1C38AA8E1D5C0BA9D612C54997B945E56A63F41223EEF650653A1

Binary file not shown.

View File

@@ -38,11 +38,11 @@ try { $git = (git -C $root rev-parse --short HEAD).Trim() } catch { $git = "unkn
$date = Get-Date -Format "yyyy-MM-dd"
$hashes = Get-ChildItem (Join-Path $dst "*.bin") | Get-FileHash -Algorithm SHA256
$lines = @(
"name: CYD TF card + touch speaker (cyd)",
"name: CYD Pomodoro (cyd)",
"git: $git",
"date: $date",
"board: ESP32-2432S028R (ILI9341)",
"features: TF/SD info, SoftSPI touch, GPIO26 speaker",
"features: Pomodoro timer, SoftSPI touch, GPIO26 speaker, TF status",
"flash_size: 4MB",
"offsets:",
" 0x1000 bootloader.bin",