# ==============================================================================
# 1. CMake & Build Artifacts (Keep binaries out of Git)
# ==============================================================================
/build/
/cmake-build-*/
*.elf
*.hex
*.bin
*.map
*.o
*.d
*.su
*.cyclomatic

# ==============================================================================
# 2. STM32CubeIDE / Eclipse Output & User Settings
# ==============================================================================
# Compiled output folders generated by CubeIDE
/Debug/
/Release/

# User-specific GUI settings (layout, open tabs, local paths)
.settings/
.launch

# Temporary workspace files
*.launch
*.log

# ==============================================================================
# 3. Third-Party IDE Specifics (VS Code / CLion)
# ==============================================================================
.vscode/
.idea/
*.ninja
CompileCommands.json
compile_commands.json

# ==============================================================================
# 4. CRITICAL: MUST KEEP IN GIT (Do NOT ignore these!)
# ==============================================================================
!.project
!.cproject
!.mxproject
!CMakeLists.txt
!arm-none-eabi-gcc.cmake