# ===================================
# ESP32 / Arduino / PlatformIO
# ===================================

# PlatformIO
.pio/
.pioenvs/
.piolibdeps/
.vscode/
.clang_complete
.gcc-flags.json
**/compile_commands.json

# Build directories
build/
*.bin
*.elf
*.map
*.hex
*.uf2
*.partitions.bin
*.bootloader.bin
*.ota
*.env
.env.*

# Local IDE/workspace and device artifacts
*.code-workspace
*.exe
*.dll
*.dmp
*.trace
*.pcap
captures/
**/captures/
serial*.log
monitor*.log

# Credentials and sensitive data
**/config.h
**/secrets.h
**/credentials.h
**/config.local.*
**/secrets.*
**/credentials.*
**/*secret*
**/*credential*
.env
*.local
*.local.*
*.pem
*.key
*.p12
*.pfx

# Local Codex project guidance and skills (never publish)
**/AGENTS.md
**/AGENTS.override.md
**/.agents/
**/.codex/

# ===================================
# KiCad
# ===================================

# Backup files
*.bak
*.bck
*-bak
*-backup/
*-backups/

# KiCad auto-save files
_autosave-*
*.kicad_pcb-bak
*.kicad_sch-bak

# Cache files
fp-info-cache
*.kicad_prl

# Local KiCad history and active project locks
**/.history/
~*.lck

# Local KiCad plugin preferences
**/*.round-tracks-config
**/fabrication-toolkit-options.json

# Gerber and manufacturing output (optional - uncomment if you don't want to track them)
# gerber/
# *.gbr
# *.drl

# ===================================
# General Development
# ===================================

# Logs and temporary files
*.log
logs/
tmp/
*.tmp
*.temp
__pycache__/
*.py[cod]

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
desktop.ini

# IDE files
*.swp
*.swo
*~
.idea/

# ===================================
# Libraries (optional)
# ===================================

# Uncomment if you don't want to track Arduino/PlatformIO libraries
# If these are standard libraries, they can be reinstalled via library manager
SW-Arduino-IDE/libraries/
SW/libraries/

# ===================================
# Project Specific
# ===================================

# Only Firmware/ is maintained. Keep former local experiments out of Git.
SW-VSCode/

# Generated KiCad netlist exports contain machine-local source paths.
PCB/**/*.xml

# Unsanitized source renders stay local; public variants live beside them.
Readme/V3B.webp
Readme/backV4.webp

# LTspice files and directory
LTspice/
*.raw
*.net
*.asc
*.plt
*.log

# QR-Code directory (may contain personal info)
QR-Code/

# CSV exports (if auto-generated)
# *.csv

# Test files and screenshots
test/
screenshots/

# Compiled documentation
*.pdf

# Personal notes and drafts
notes/
drafts/
TODO.md
NOTES.md
