文件
phonerail/site/diagrams/links.svg
T
zhou yang和Claude Opus 5 2bfe308b30 初始导入:PhoneRail 五路手机直供电源板
原理图/PCB 已在 EasyEDA 里做到 12 页跨页 0 漏接,固件刚完成骨架包 A1。
这次是把已有的一切一次性纳入版本控制,没有改动任何设计内容。

纳入:
- 设计与需求文档、PROGRESS.md、小米8 参考原理图 PDF 与追脚脚本
- .claude/ 下的 EasyEDA 桥接工具链与几何/网表缓存(eda-parts.json、
  pcb-parts.json、pcb-pads.json、p2-ch1.json 等,是重画各页的唯一事实来源)
- 117 张验证截图(本项目所有方向问题都是靠人眼看截图发现的,属于证据不是垃圾)
- firmware/ 的 A1 骨架与 site/ 文档站源码

.gitignore 排除:构建产物(firmware/build、host/build、sdkconfig)、
site/node_modules、__pycache__、桥接日志 _bridge.log、脚本自标的 *.stale。

.gitattributes 默认 `* -text`:现有 .py/.json 大多是 CRLF,原样存,
不让 git 重写行尾。唯一例外是 *.sh 强制 LF —— 带 \r 的 shell 脚本 bash 跑不了。

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QYuExfgyYa6DzRRcUso8M8
2026-09-06 18:18:14 +08:00

44 行
2.4 KiB
XML
原始文件 Blame 文件历史

此文件含有模棱两可的 Unicode 字符
此文件含有可能会与其他字符混淆的 Unicode 字符。 如果您是想特意这样的,可以安全地忽略该警告。 使用 Escape 按钮显示他们。
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 760 404" role="img"
aria-label="双链路架构:WiFi 与 USB CDC 两个传输适配器汇到单一命令处理器">
<defs>
<marker id="kg-arw" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
<path d="M0 0 L10 5 L0 10 z" class="dg-head"/>
</marker>
</defs>
<rect x="60" y="10" width="270" height="46" rx="8" class="dg-box"/>
<text x="195" y="30" class="dg-t dg-c">WiFi(MQTT / HTTP)</text>
<text x="195" y="47" class="dg-s dg-c">常态链路</text>
<rect x="430" y="10" width="270" height="46" rx="8" class="dg-box"/>
<text x="565" y="30" class="dg-t dg-c">USB CDC(调试口 J22)</text>
<text x="565" y="47" class="dg-s dg-c">兜底链路,与日志同一条流</text>
<line x1="195" y1="56" x2="195" y2="92" class="dg-wire" marker-end="url(#kg-arw)"/>
<line x1="565" y1="56" x2="565" y2="92" class="dg-wire" marker-end="url(#kg-arw)"/>
<rect x="60" y="92" width="270" height="46" rx="8" class="dg-box"/>
<text x="195" y="112" class="dg-t dg-c">传输适配器 A</text>
<text x="195" y="129" class="dg-s dg-c">只管收发字节与分帧</text>
<rect x="430" y="92" width="270" height="46" rx="8" class="dg-box"/>
<text x="565" y="112" class="dg-t dg-c">传输适配器 B</text>
<text x="565" y="129" class="dg-s dg-c">只管收发字节与分帧</text>
<path d="M195 138 V168 H565 V138" class="dg-wire" fill="none"/>
<line x1="380" y1="168" x2="380" y2="196" class="dg-wire" marker-end="url(#kg-arw)"/>
<rect x="150" y="196" width="460" height="84" rx="8" class="dg-box dg-key"/>
<text x="380" y="222" class="dg-t dg-c">单一命令处理器</text>
<text x="380" y="244" class="dg-s dg-c">鉴权 · 限幅与越界拒绝(SR-13) · 全局序号判重</text>
<text x="380" y="264" class="dg-s dg-c">安全约束只写在这里,绝不写进适配器</text>
<line x1="380" y1="280" x2="380" y2="312" class="dg-wire" marker-end="url(#kg-arw)"/>
<rect x="150" y="312" width="460" height="46" rx="8" class="dg-box"/>
<text x="380" y="332" class="dg-t dg-c">执行器状态机 / 遥测</text>
<text x="380" y="349" class="dg-s dg-c">§10.6 · §10.3</text>
<text x="380" y="386" class="dg-s dg-c">两条链路同时在线,不做主备切换 —— 谁先送到算谁的,靠序号去重</text>
</svg>