Document mandatory local git after flash/export.
Align README with CYD project guide: upload, export firmware, then local commit.
This commit is contained in:
11
README.md
11
README.md
@@ -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** 上:
|
||||
|
||||
@@ -51,3 +51,5 @@ esptool.py --chip esp32 --port COM3 --baud 921600 write_flash -z ^
|
||||
```
|
||||
|
||||
刷完后在 PC 上运行 `..\..\host\send_sysinfo.ps1` 推送本机信息。
|
||||
|
||||
导出固件后记得在仓库根目录 **本地 `git commit`**(见根 `README.md`「本地 git」;不 push,除非明确要求)。
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: CYD serverinfotest (cyd)
|
||||
git: unknown
|
||||
git: 683d0f2
|
||||
date: 2026-10-27
|
||||
board: ESP32-2432S028R (ILI9341)
|
||||
flash_size: 4MB
|
||||
|
||||
Reference in New Issue
Block a user