# ============================================================================ # Build Artifacts # ============================================================================ build/ out/ bin/ obj/ *.o *.obj *.elf *.hex *.bin *.map *.lst *.d *.dep *.depend *.su # ============================================================================ # IDE Files # ============================================================================ .vscode/ .idea/ *.swp *.swo *~ .DS_Store Thumbs.db *.user *.suo *.VC.db *.VC.opendb # ============================================================================ # CMake # ============================================================================ CMakeFiles/ CMakeCache.txt cmake_install.cmake CTestTestfile.cmake compile_commands.json Makefile # ============================================================================ # Debug Files # ============================================================================ *.log *.trace *.prof *.gcda *.gcno *.gcov coverage/ htmlcov/ # ============================================================================ # Documentation # ============================================================================ docs/html/ docs/latex/ docs/pdf/ build/docs/ doxygen/ *.aux *.toc *.out *.pdf # ============================================================================ # Test Files # ============================================================================ test_results/ test_output/ *.test *.result # ============================================================================ # Dependency Files # ============================================================================ node_modules/ vendor/ third_party/cmsis/ # Optional, depending on project setup # ============================================================================ # Environment # ============================================================================ .env .env.local .env.*.local # ============================================================================ # Temporary Files # ============================================================================ tmp/ temp/ *.tmp *.bak *.orig *.rej # ============================================================================ # Compressed Files # ============================================================================ *.zip *.tar *.tar.gz *.tgz *.7z *.rar # ============================================================================ # Specific Files # ============================================================================ *.hex *.bin *.elf *.axf *.map *.o *.d *.lst *.su *.cmd *.bat # ============================================================================ # Keep specific files # ============================================================================ !.gitkeep !.gitignore !.gitattributes # ============================================================================ # Exception rules # ============================================================================ # Keep example configuration files !config/*.example.h !config/*.template.h # Keep documentation source !docs/**/*.md !docs/**/*.rst # Keep linker scripts !**/*.ld !**/*.lds # Keep assembly files !**/*.s !**/*.S # Keep build scripts !**/build_*.sh !**/flash_*.sh !**/setup_*.sh