.gitignore for IAR
28 ignore rules for IAR, ready to copy into your repository.
Embedded development tools
The complete .gitignore for IAR
# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-08-05 01:29:18 UTC
# Technologies: IAR
### IAR ###
# Object file
*.o
*.bin
*.elf
# Hex dump file
*.hex
*.map
# Compiler output
*.out
# Object file
*.obj
# Backup file
*.bak
thumbs.db
*.~*
**/settings/*.crun
**/settings/*.dbgdt
**/settings/*.cspy
**/settings/*.cspy.*
**/settings/*.xcl
**/settings/*.dni
**/settings/*.wsdt
**/settings/*.wspos
**/Exe/*.sim
**/Obj/*.pbd
**/Obj/*.pbd.*
**/Obj/*.pbi
**/Obj/*.pbi.*
Debug/
Release/
settings/
Backup*
*.dep
What these IAR rules actually ignore
Every pattern below, and why it belongs in your .gitignore.
Compiled binaries
| Pattern | What it ignores |
|---|---|
*.o |
Object file |
*.bin |
Compiled binaries |
*.elf |
Compiled binaries |
*.hex |
Hex dump file |
*.map |
Compiled binaries |
*.out |
Compiler output |
*.obj |
Object file |
Trash
| Pattern | What it ignores |
|---|---|
*.bak |
Backup file |
thumbs.db |
Trash |
*.~* |
Trash |
IAR Settings
| Pattern | What it ignores |
|---|---|
**/settings/*.crun |
IAR Settings |
**/settings/*.dbgdt |
IAR Settings |
**/settings/*.cspy |
IAR Settings |
**/settings/*.cspy.* |
IAR Settings |
**/settings/*.xcl |
IAR Settings |
**/settings/*.dni |
IAR Settings |
**/settings/*.wsdt |
IAR Settings |
**/settings/*.wspos |
IAR Settings |
IAR Debug Exe
| Pattern | What it ignores |
|---|---|
**/Exe/*.sim |
IAR Debug Exe |
IAR Debug Obj
| Pattern | What it ignores |
|---|---|
**/Obj/*.pbd |
IAR Debug Obj |
**/Obj/*.pbd.* |
IAR Debug Obj |
**/Obj/*.pbi |
IAR Debug Obj |
**/Obj/*.pbi.* |
IAR Debug Obj |
IAR project "Debug" directory
| Pattern | What it ignores |
|---|---|
Debug/ |
IAR project "Debug" directory |
IAR project "Release" directory
| Pattern | What it ignores |
|---|---|
Release/ |
IAR project "Release" directory |
IAR project settings directory
| Pattern | What it ignores |
|---|---|
settings/ |
IAR project settings directory |
IAR backup files
| Pattern | What it ignores |
|---|---|
Backup* |
IAR backup files |
IAR .dep files
| Pattern | What it ignores |
|---|---|
*.dep |
IAR .dep files |
How to use this .gitignore for IAR
- Copy the IAR rules above, or download the file directly.
- Create a file named .gitignore at the root of your Git repository and paste the rules into it.
- If some of those files are already tracked, run git rm -r --cached . then commit again — Git only applies ignore rules to untracked files.
- Commit the .gitignore so everyone on the team shares the same rules.