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:
10
README.md
10
README.md
@@ -17,3 +17,13 @@ pio run -e cyd -t upload --upload-port COM3
|
|||||||
```
|
```
|
||||||
|
|
||||||
或 `firmware/cyd/flash.bat`。
|
或 `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
|
||||||
|
```
|
||||||
|
|||||||
@@ -3,9 +3,11 @@
|
|||||||
当前归档目录:[`cyd/`](cyd/)
|
当前归档目录:[`cyd/`](cyd/)
|
||||||
|
|
||||||
对应板子:**CYD ESP32-2432S028R**(ILI9341)
|
对应板子:**CYD ESP32-2432S028R**(ILI9341)
|
||||||
功能:TF 卡信息 + 触屏扬声器控制
|
功能:**番茄钟(Pomodoro)** + 触控喇叭 + TF 状态
|
||||||
版本信息见 [`cyd/VERSION.txt`](cyd/VERSION.txt)。
|
版本信息见 [`cyd/VERSION.txt`](cyd/VERSION.txt)。
|
||||||
|
|
||||||
|
也可在 [`../../cydweb`](../../cydweb)(CYD Flasher)里通过浏览器串口刷写本目录固件。
|
||||||
|
|
||||||
## 直接刷写(无需重新编译)
|
## 直接刷写(无需重新编译)
|
||||||
|
|
||||||
1. USB 连接板子
|
1. USB 连接板子
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
name: CYD TF card + touch speaker (cyd)
|
name: CYD Pomodoro (cyd)
|
||||||
git: 7c6eb9a
|
git: 54a70d0
|
||||||
date: 2026-10-17
|
date: 2026-10-19
|
||||||
board: ESP32-2432S028R (ILI9341)
|
board: ESP32-2432S028R (ILI9341)
|
||||||
features: TF/SD info, SoftSPI touch, GPIO26 speaker
|
features: Pomodoro timer, SoftSPI touch, GPIO26 speaker, TF status
|
||||||
flash_size: 4MB
|
flash_size: 4MB
|
||||||
offsets:
|
offsets:
|
||||||
0x1000 bootloader.bin
|
0x1000 bootloader.bin
|
||||||
@@ -12,5 +12,5 @@ offsets:
|
|||||||
sha256:
|
sha256:
|
||||||
bootloader.bin 3D234A7471F67B013686DABD4DEE7C1FA915C9928463616A94BC9297ACF1ABF8
|
bootloader.bin 3D234A7471F67B013686DABD4DEE7C1FA915C9928463616A94BC9297ACF1ABF8
|
||||||
boot_app0.bin F94C5D786A7A8FAB06AC5D10E33BF37711A6697636DC037559EA19CC410A17F0
|
boot_app0.bin F94C5D786A7A8FAB06AC5D10E33BF37711A6697636DC037559EA19CC410A17F0
|
||||||
firmware.bin C2BD52279AFB3E40C45358CA05493EF0255F708858A3F5132417AEAC0B6EE25F
|
firmware.bin 4C064140E8F8E0D2DD55D0085F7974FA57CAF5A24DFFACC9B3ECF03B576A033B
|
||||||
partitions.bin 148B959CBFF1C38AA8E1D5C0BA9D612C54997B945E56A63F41223EEF650653A1
|
partitions.bin 148B959CBFF1C38AA8E1D5C0BA9D612C54997B945E56A63F41223EEF650653A1
|
||||||
|
|||||||
Binary file not shown.
@@ -38,11 +38,11 @@ try { $git = (git -C $root rev-parse --short HEAD).Trim() } catch { $git = "unkn
|
|||||||
$date = Get-Date -Format "yyyy-MM-dd"
|
$date = Get-Date -Format "yyyy-MM-dd"
|
||||||
$hashes = Get-ChildItem (Join-Path $dst "*.bin") | Get-FileHash -Algorithm SHA256
|
$hashes = Get-ChildItem (Join-Path $dst "*.bin") | Get-FileHash -Algorithm SHA256
|
||||||
$lines = @(
|
$lines = @(
|
||||||
"name: CYD TF card + touch speaker (cyd)",
|
"name: CYD Pomodoro (cyd)",
|
||||||
"git: $git",
|
"git: $git",
|
||||||
"date: $date",
|
"date: $date",
|
||||||
"board: ESP32-2432S028R (ILI9341)",
|
"board: ESP32-2432S028R (ILI9341)",
|
||||||
"features: TF/SD info, SoftSPI touch, GPIO26 speaker",
|
"features: Pomodoro timer, SoftSPI touch, GPIO26 speaker, TF status",
|
||||||
"flash_size: 4MB",
|
"flash_size: 4MB",
|
||||||
"offsets:",
|
"offsets:",
|
||||||
" 0x1000 bootloader.bin",
|
" 0x1000 bootloader.bin",
|
||||||
|
|||||||
Reference in New Issue
Block a user