Initial CYD LD2420 radar dashboard with flashable firmware archive.
Presence uses ESPHome factory gates/timeout; OT1->GPIO22 RX->GPIO27; prebuilt bins under firmware/cyd_28r. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
15
.cursor/rules/git-and-docs.mdc
Normal file
15
.cursor/rules/git-and-docs.mdc
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
description: 每次改动必须提交 Git、更新文档,并刷新预编译固件
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
# Git、文档与固件
|
||||
|
||||
对本项目做任何功能、行为或配置改动后,在结束本次任务前必须:
|
||||
|
||||
1. **更新文档**:至少更新 `README.md` 的「功能 / 硬件 / 变更记录」中受影响部分。
|
||||
2. **刷新预编译固件**:运行 `.\firmware\export_from_build.ps1`(或 `-SkipBuild`),保证 `firmware/cyd_28r/` 随时可刷。
|
||||
3. **提交 Git**:`git add` 相关文件后 `git commit`(含 `firmware/` 归档)。
|
||||
4. **不要**在未提交的情况下声称任务已完成。
|
||||
|
||||
例外:用户明确说「先别提交」或「不要改文档」时,以用户当次指令为准。
|
||||
Reference in New Issue
Block a user