Files

75 lines
2.4 KiB
Plaintext
Raw Permalink 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.
# =============================================================================
# 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
# Keil RTE 自动生成头(勿改;打开工程会再生成)
**/MDK-ARM/RTE/
# 注意:*.uvprojx 必须入库,不能 ignoreKeil 工程文件)
# 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