Document mandatory local git after flash/export.

Align README with CYD project guide: upload, export firmware, then local commit.
This commit is contained in:
2026-10-27 20:17:48 +08:00
parent 683d0f242f
commit 116615818b
3 changed files with 14 additions and 1 deletions

View File

@@ -39,6 +39,17 @@ cd firmware\cyd # 或 firmware\cyd_35r
重新打包:`.\firmware\export_from_build.ps1`(3.5 加 `-Env cyd_35r`)
串口监视:`pio device monitor -b 460800`
## 本地 git(必做)
本工程是**独立本地 repo**,有效改动都要提交;**不 push**(除非明确要求)。顺序对齐 [CYD_PROJECT_GUIDE.md](../CYD_PROJECT_GUIDE.md) §0 / §3:
1. 改代码
2. `pio run -e cyd -t upload`(或 `cyd_35r`)真机验证
3. `.\firmware\export_from_build.ps1`(需要时加 `-Env cyd_35r`)
4. `git add -A` → `git commit`
禁止:只改代码不烧录、不导出固件、**不本地 commit** 就收工。
## 推送本机信息
板子刷好并插上 USB 后,在 **PC** 上: