Files
STM32F4-Base/docs/images/内存布局_RAM.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

58 lines
4.8 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
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 360" width="820" height="360" 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">SRAM (192KB) 使用布局 — 2026-10-22 构建</text>
<text x="60" y="42" class="label" fill="#555">主 SRAM RW_IRAM1 @0x20000000(128KB,DMA 可达)</text>
<rect class="bar-seg" x="60" y="50" width="95.3" height="44" fill="#4CAF50" rx="2"/>
<text x="107.6" y="72.0" text-anchor="middle" dominant-baseline="central" class="label" fill="#000">LVGL 池 16KB</text>
<rect class="bar-seg" x="155.2777099609375" y="50" width="76.5" height="44" fill="#FF9800" rx="2"/>
<text x="193.5" y="72.0" text-anchor="middle" dominant-baseline="central" class="label" fill="#000">UI</text>
<rect class="bar-seg" x="231.75506591796875" y="50" width="47.7" height="44" fill="#8BC34A" rx="2"/>
<text x="255.6" y="72.0" text-anchor="middle" dominant-baseline="central" class="label" fill="#000">lftpd</text>
<rect class="bar-seg" x="279.40521240234375" y="50" width="39.7" height="44" fill="#9C27B0" rx="2"/>
<rect class="bar-seg" x="319.12872314453125" y="50" width="29.6" height="44" fill="#F44336" rx="2"/>
<rect class="bar-seg" x="348.7689208984375" y="50" width="9.7" height="44" fill="#00BCD4" rx="2"/>
<rect class="bar-seg" x="358.502197265625" y="50" width="5.8" height="44" fill="#795548" rx="2"/>
<rect class="bar-seg" x="364.283447265625" y="50" width="120.2" height="44" fill="#9E9E9E" rx="2"/>
<text x="424.4" y="72.0" text-anchor="middle" dominant-baseline="central" class="label" fill="#000">other</text>
<rect class="bar-seg" x="484.4476318359375" y="50" width="315.1" height="44" fill="#E0E0E0" rx="2"/>
<text x="642.0" y="72.0" text-anchor="middle" dominant-baseline="central" class="label" fill="#000">free</text>
<text x="60" y="112" class="label" fill="#333">已用: 75264B (57.4%) 空闲: 55808B (42.6%) 总量: 128KB</text>
<text x="60" y="136" class="label" fill="#555">CCM RW_CCM @0x10000000(段 65,280 B;仅 CPU 可达、DMA 不可达 → R2/R3)</text>
<rect class="bar-seg" x="60" y="144" width="323.9" height="44" fill="#2196F3" rx="2"/>
<text x="222.0" y="166.0" text-anchor="middle" dominant-baseline="central" class="label" fill="#000">FreeRTOS 堆</text>
<rect class="bar-seg" x="383.9306640625" y="144" width="44.6" height="44" fill="#E0E0E0" rx="2"/>
<text x="406.2" y="166.0" text-anchor="middle" dominant-baseline="central" class="label" fill="#000">free</text>
<text x="60" y="206" class="label" fill="#333">已用: 57376B (87.9%) 空闲: 7904B (12.1%) 总量: 63.75KB(+256 B UNINIT_CCM 尾区)——CCM 是当前全局卡点</text>
<rect x="60" y="226" width="12" height="12" fill="#4CAF50" rx="2"/>
<text x="76" y="236" class="legend-text" fill="#333">主SRAM LVGL 池 16KB: 16.5KB (12.9%)</text>
<rect x="60" y="242" width="12" height="12" fill="#FF9800" rx="2"/>
<text x="76" y="252" class="legend-text" fill="#333">主SRAM UI: 13.2KB (10.3%)</text>
<rect x="60" y="258" width="12" height="12" fill="#8BC34A" rx="2"/>
<text x="76" y="268" class="legend-text" fill="#333">主SRAM lftpd: 8.2KB (6.4%)</text>
<rect x="60" y="274" width="12" height="12" fill="#9C27B0" rx="2"/>
<text x="76" y="284" class="legend-text" fill="#333">主SRAM FTL/BBT: 6.9KB (5.4%)</text>
<rect x="60" y="290" width="12" height="12" fill="#F44336" rx="2"/>
<text x="76" y="300" class="legend-text" fill="#333">主SRAM NET/CH395F: 5.1KB (4.0%)</text>
<rect x="420" y="226" width="12" height="12" fill="#00BCD4" rx="2"/>
<text x="436" y="236" class="legend-text" fill="#333">主SRAM CMSIS-RTOS: 1.7KB (1.3%)</text>
<rect x="420" y="242" width="12" height="12" fill="#607D8B" rx="2"/>
<text x="436" y="252" class="legend-text" fill="#333">主SRAM HAL: 0.1KB (0.1%)</text>
<rect x="420" y="258" width="12" height="12" fill="#795548" rx="2"/>
<text x="436" y="268" class="legend-text" fill="#333">主SRAM C stack: 1.0KB (0.8%)</text>
<rect x="420" y="274" width="12" height="12" fill="#9E9E9E" rx="2"/>
<text x="436" y="284" class="legend-text" fill="#333">主SRAM other: 20.8KB (16.2%)</text>
<rect x="420" y="290" width="12" height="12" fill="#E0E0E0" rx="2"/>
<text x="436" y="300" class="legend-text" fill="#333">主SRAM free: 54.5KB (42.6%)</text>
<rect x="60" y="322" width="12" height="12" fill="#2196F3" rx="2"/>
<text x="76" y="332" class="legend-text" fill="#333">CCM FreeRTOS 堆: 56.0KB (87.9%)</text>
<rect x="60" y="338" width="12" height="12" fill="#E0E0E0" rx="2"/>
<text x="76" y="348" class="legend-text" fill="#333">CCM free: 7.7KB (12.1%)</text>
</svg>