# ============================================================
# MPLAB X IDE - Git Ignore Configuration
# Project: SMRH
# ============================================================


# ============================================================
# 1. Build directories
# ============================================================

build/
debug/


# ============================================================
# 2. MPLAB X generated files
# ============================================================

# Generated build helper files
.generated_files/

# Generated flags
generated_files/flags/


# ============================================================
# 3. MPLAB X user-specific settings
# ============================================================

# User-specific project settings
nbproject/private/

# Automatically generated package files
nbproject/Package-*/
nbproject/Package-*.bash

# Local Makefiles
nbproject/Makefile-local-*.mk


# ============================================================
# 4. Distribution files
# ============================================================

# Ignore all files inside the distribution directory
dist/**

# Allow Git to traverse subdirectories
!dist/**/

# Preserve firmware and debugging artifacts
!dist/**/*.hex
!dist/**/*.elf
!dist/**/*.map

# Preserve memory information
!dist/**/memoryfile.xml


# ============================================================
# 5. Compiler output files (XC8 / XC16 / XC32)
# ============================================================

*.o
*.obj
*.lst
*.d
*.dep
*.p1
*.pre
*.sym
*.sdb
*.cod
*.cof


# ============================================================
# 6. Other generated binary files
# ============================================================

*.bin
*.eep


# ============================================================
# 7. Temporary files
# ============================================================

*.tmp
*.temp
*.bak
*.old
*.orig
*.log
*.cache


# ============================================================
# 8. Editor files
# ============================================================

*.swp
*.swo
*~
*.sublime-workspace


# ============================================================
# 9. Windows system files
# ============================================================

Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.lnk


# ============================================================
# 10. macOS and Linux system files
# ============================================================

.DS_Store
.Trashes
.directory


# ============================================================
# 11. IDE caches
# ============================================================

.cache/
.cachefile


# ============================================================
# 12. Important project files - DO NOT IGNORE
# ============================================================

# nbproject/project.xml
# nbproject/configurations.xml
# nbproject/Makefile-default.mk
# nbproject/Makefile-variables.mk
# nbproject/Makefile-impl.mk
# Makefile
# *.c
# *.h
# *.cpp
# *.asm
# *.s
# *.S


# ============================================================
# End of file
# ============================================================