Files
STM32F4-Base/docs/images/内存布局_FLASH.svg
T
wandering1 4a4ad6bc5f chore(全仓): @build/@test 旧文档别名清退为技能调用名
现状口径:/keil-build 与 /serial-boot-test 是 DSH 会话的技能调用名,
不是 shell 命令;「名 + 命令行参数」的命令形态改为可执行体
run_boot_test.py 的真实调用。

- AGENTS.md:别名说明重写为「技能调用名不是 shell 命令」,两条目改
  「编译(/keil-build)」「串口回归(/serial-boot-test)」
- keil-build / serial-boot-test 两 skill 调用名与示例同步;task-worktree
  方案文档去掉 @build/@test 惯例从句;@task 保留(不在点名范围)
- 123 文件现状陈述全改;台架捕获、变更记录/时间线、rename 映射输入
  等 41 行历史证据保留旧名
- gen_memory_svg.py 6 处措辞随改,3 张 SVG 产物同批重跑
- 顺手补并行方案同行漏网计数 51→52 钩子

验证:提交期快钩子对 123 文件实跑全 Passed;check_doc_links --all
rc=0(3038 处、无法判定 0);check_mermaid --all rc=0;YAML 解析 52
钩子不变;skill-size rc=0;py_compile 全过;字节卫生零漂移。
2026-10-30 13:03:12 +08:00

54 lines
4.4 KiB
XML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 820 240" width="820" height="240" style="font-family:Consolas,'Courier New',monospace; font-size:12px; background:#fff">
<defs>
<style>
.title { font-size:14px; font-weight:bold; }
.label { font-size:11px; }
.legend-text { font-size:10px; }
.bar-seg { stroke:#fff; stroke-width:0.5; }
</style>
</defs>
<text x="410.0" y="24" text-anchor="middle" class="title">Flash (1MB) 使用布局 — 2026-10-23 构建</text>
<rect class="bar-seg" x="60" y="50" width="150.8" height="40" fill="#2196F3" rx="2"/>
<text x="135.4" y="70.0" text-anchor="middle" dominant-baseline="central" class="label" fill="#000">代码段 (Code) 208.7KB</text>
<rect class="bar-seg" x="210.7952117919922" y="50" width="13.3" height="40" fill="#4CAF50" rx="2"/>
<text x="228.1" y="70.0" text-anchor="start" dominant-baseline="central" class="legend-text" fill="#333">只读数据 (RO) 18.4KB</text>
<rect class="bar-seg" x="224.10507202148438" y="50" width="575.1" height="40" fill="#E0E0E0" rx="2"/>
<text x="511.6" y="70.0" text-anchor="middle" dominant-baseline="central" class="label" fill="#000">Flash 空闲 795.8KB</text>
<text x="60" y="108" class="label" fill="#333">已用: 228.2KB (22.3%) 空闲: 795.8KB (77.7%) ER_IROM1(Code+RO): 227.1KB (22.2%) 总量: 1MB (= ROM 合计口径)</text>
<text x="60" y="124" class="label" fill="#555">Code + RO 分布(ER_IROM1 227.1KB,按 .map 对象归类)</text>
<rect class="bar-seg" x="60" y="130" width="279.1" height="24" fill="#4CAF50" rx="2"/>
<text x="199.6" y="142.0" text-anchor="middle" dominant-baseline="central" class="label" fill="#000">85.7KB</text>
<rect class="bar-seg" x="339.1070629923969" y="130" width="181.5" height="24" fill="#2196F3" rx="2"/>
<text x="429.9" y="142.0" text-anchor="middle" dominant-baseline="central" class="label" fill="#000">55.7KB</text>
<rect class="bar-seg" x="520.6478996800496" y="130" width="82.5" height="24" fill="#F44336" rx="2"/>
<text x="561.9" y="142.0" text-anchor="middle" dominant-baseline="central" class="label" fill="#000">25.3KB</text>
<rect class="bar-seg" x="603.1204630680842" y="130" width="56.9" height="24" fill="#607D8B" rx="2"/>
<text x="631.6" y="142.0" text-anchor="middle" dominant-baseline="central" class="label" fill="#000">17.5KB</text>
<rect class="bar-seg" x="660.0073106959784" y="130" width="35.7" height="24" fill="#FF9800" rx="2"/>
<rect class="bar-seg" x="695.7191144596967" y="130" width="34.2" height="24" fill="#00BCD4" rx="2"/>
<rect class="bar-seg" x="729.967058864004" y="130" width="26.9" height="24" fill="#9C27B0" rx="2"/>
<rect class="bar-seg" x="756.9148002889876" y="130" width="17.5" height="24" fill="#795548" rx="2"/>
<rect class="bar-seg" x="774.3729143014416" y="130" width="1.5" height="24" fill="#B0BEC5" rx="2"/>
<rect class="bar-seg" x="775.8622320844945" y="130" width="24.1" height="24" fill="#E0E0E0" rx="2"/>
<rect x="60" y="167" width="10" height="10" fill="#4CAF50" rx="2"/>
<text x="74" y="176" class="legend-text" fill="#333">LVGL 库 85.7KB</text>
<rect x="255" y="167" width="10" height="10" fill="#2196F3" rx="2"/>
<text x="269" y="176" class="legend-text" fill="#333">应用代码/UI 55.7KB</text>
<rect x="450" y="167" width="10" height="10" fill="#F44336" rx="2"/>
<text x="464" y="176" class="legend-text" fill="#333">CH395F+FTP 25.3KB</text>
<rect x="645" y="167" width="10" height="10" fill="#607D8B" rx="2"/>
<text x="659" y="176" class="legend-text" fill="#333">HAL 驱动 17.5KB</text>
<rect x="60" y="183" width="10" height="10" fill="#FF9800" rx="2"/>
<text x="74" y="192" class="legend-text" fill="#333">dhara / FTL 11.0KB</text>
<rect x="255" y="183" width="10" height="10" fill="#00BCD4" rx="2"/>
<text x="269" y="192" class="legend-text" fill="#333">FreeRTOS 内核 10.5KB</text>
<rect x="450" y="183" width="10" height="10" fill="#9C27B0" rx="2"/>
<text x="464" y="192" class="legend-text" fill="#333">FatFS 8.3KB</text>
<rect x="645" y="183" width="10" height="10" fill="#795548" rx="2"/>
<text x="659" y="192" class="legend-text" fill="#333">C 库 (microlib) 5.4KB</text>
<rect x="60" y="199" width="10" height="10" fill="#B0BEC5" rx="2"/>
<text x="74" y="208" class="legend-text" fill="#333">startup 0.5KB</text>
<rect x="255" y="199" width="10" height="10" fill="#E0E0E0" rx="2"/>
<text x="269" y="208" class="legend-text" fill="#333">其他 (长尾) 7.4KB</text>
</svg>