docs: 添加 main 分支索引

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-18 18:59:34 +08:00
co-authored by Cursor
commit 9deadf2d77
3 changed files with 193 additions and 0 deletions
+69
View File
@@ -0,0 +1,69 @@
# =============================================================================
# PY32F040 OTA 开发框架 — Git 忽略规则
# 原则:只跟踪源码/工程/契约/文档;编译产物与 IDE 个人配置不入库
# =============================================================================
# ── Keil MDK 编译产物(App / Bootloader 两工程)────────────────────────────
**/MDK-ARM/Objects/
**/MDK-ARM/Listings/
**/MDK-ARM/Output/
# App 侧历史 hex 输出目录
App/Output/
# ── 顶层构建输出(build_all.py / merge_hex.py / pack.py)────────────────────
Output/
# ── Keil 个人/本地 IDE 配置 ─────────────────────────────────────────────────
*.uvguix*
*.uvoptx
*.scvd
**/MDK-ARM/Prg_Output.txt
**/MDK-ARM/Build_Output.txt
**/MDK-ARM/JLinkLog.txt
# DebugConfig/*.dbgconf 建议保留入库(芯片调试配置,团队可共享)
# ── 中间文件扩展名(散落于工程目录时兜底)──────────────────────────────────
*.o
*.d
*.crf
*.axf
*.lnp
*.dep
*.htm
*.map
*.lst
*.iex
*.sct.bak
*_sct.Bak
*.bak
# ── 固件二进制(应由 CI/本地构建生成,不入库)──────────────────────────────
*.hex
*.bin
*.elf
*.zip
# 例外:若需跟踪某份参考 hex,可用 git add -f 强制加入
# ── 日志与临时文件 ─────────────────────────────────────────────────────────
Log/
*.log
# ── 编辑器 / Agent / Python ─────────────────────────────────────────────────
.vscode/
.cursor/
.idea/
*.swp
*~
__pycache__/
*.py[cod]
.Python
*.egg-info/
.eggs/
# ── OS 杂项 ─────────────────────────────────────────────────────────────────
Thumbs.db
Desktop.ini
.DS_Store