# ############################## # 1. 忽略 IAR 编译目录 # ############################## boards/*/*/*/*/IAR/ boards/*/*/*/*/IAR_*/ boards/*/*/*/*/Debug/ boards/*/*/*/*/FlashDebug/ boards/*/*/*/*/Release/ boards/*/*/*/*/settings/ # ############################## # 2. 忽略编译中间文件 # ############################## *.dep *.out *.map *.lst *.o *.a *.hex *.bin *.elf *.d *.i *.srec *.d89 *.79k *.ninja_log # ############################## # 3. 强制保留 IAR 工程文件(关键!) # ############################## !*.eww !*.ewp !*.ewd !*.ewt !*.custom_argvars # ############################## # 4. 系统/编辑器垃圾文件 # ############################## .DS_Store ._* Thumbs.db Desktop.ini .vscode/ .idea/ *.swp *.swo *~ *.log *.tmp # 忽略 SES 编译目录 **/SES/ **/Output/ # 忽略 IAR 其他编译产物 **/*.pbi **/*.xcl **/*.r79 **/*.sdf **/*.sim **/*.icf # 忽略 IAR 工作区配置文件 **/*.wsdt