# 忽略构建目录
build/
cmake-build-*/
Debug/
Release/

# 忽略 VS Code 配置目录
.vscode/

# 忽略 组件
managed_components/

# 忽略编译生成的文件
*.obj
*.o
*.exe
# 发布用上位机单独入库；dist 里的构建产物仍然忽略
!nand_xfer/NAND_Xfer.exe
*.dll
*.so
*.a
*.lib
*.pdb
*.ilk

# 忽略CMake生成的文件
CMakeFiles/
CMakeCache.txt
cmake_install.cmake
Makefile

# 忽略Keil/IAR等IDE的文件
*.uvprojx
*.uvoptx
*.eww
*.ewp
*.ewd

# 忽略日志文件
*.log
logs/

# 忽略临时文件
*.tmp
*.temp
*~
.DS_Store
Thumbs.db

# 忽略其他可能的构建输出
_output/
bin/
obj/

# ESP-IDF specific files
*.bin
*.elf
*.map
/partition_table/
/bootloader/
/managed_components/
# nand_xfer 的锁文件含本机绝对路径，不能作为可复现依赖提交
dependencies.lock
sdkconfig
sdkconfig.old
flasher_args.json
phy_init_data.bin
ci/
idf_py_actions.yml
project_description.json
compile_commands.json

# Ignore build artifacts from ESP-IDF
build/bootloader/
build/partition_table/
build/phy_init_data.bin
build/config/sdkconfig.*
build/config/project_description.json
build/cmake/
build_support/
components/esptool_py/
components/partition_table/
components/bootloader/

# 本机缓存、虚拟环境和打包产物
.cache/
.venv*/
__pycache__/
*.pyc
build_*/
gui_build/
dist/

# nand_xfer 手工冒烟留下的临时文本，单元测试不依赖它们
nand_xfer/smoke*.txt
nand_xfer/test-*.txt