IGNORE FILES

# uVision Version Control With Mercurial

Article by:

## Overview

Following is an Mercurial ignore file for excluding the unnecessary files from uVision 4. The ignore file is written using regex syntax. It only excludes files that are within a directory named <uVision root dir>. This is to stop the ignore file excluding other files with the same extension from other sections of the repository. Replace <uVision root dir> with the appropriate folder name, or choose to get rid of it entirely to have these ignore rules apply to the whole repository.

The type of file excluded is commented beside each line, just incase you want to re-introduces some of these files for some reason.

Copy this code into the .hgignore file found in the root directory of your repository.

A list of the file types supported by uVision can be found here: http://www.keil.com/support/man/docs/uv4/uv4_b_filetypes.htm.

## Ignore File

  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43  #************************************************************************ #************************* UVISION 4 IGNORE FILES *********************** #************************************************************************ # Project Files /.*.*\.OPT$#uVision local project files (debugger settings, current open files, screen positions) # Listing Files /.*.*\.lst$ #Listing files generated by C compiler or assembler /.*.*\.LST$#Ditto /.*.*\.MAP$ #Map File generated by linker /.*.*\.M51$#Map File generated by linker /.*.*\.M66$ #Map File generated by linker /.*.*\.PLG$#Contents of build window /.*.*\.COD$ #Complete program listing file # Object and Hex Files /.*.*\.DMO$#Relocateable object files /.*.*\.obj$ #Relocateable object files /.*.*\.OBJ$#Relocateable object files /.*.*\.B\*$ #Absolute object files /.*.*\.hex$#Intel hex file /.*.*\.h86$ #Intel hex file /.*.*\.axf$#ARM executable format file # Debugger Files /.*.*\.ini$ #Debugger initiliasation file # Temporary Files /.*.*\.orc$#Global register coloring file for optimisation /.*.*\.lnp$ #Linker input file /.*.*\.plg$#Protocol file /.*.*\.sct$ #ARM scatter file /.*.*\.tra$#Trace output file # Other /.*.*\.__i$ #Unknown /.*.*\.i$#Unknown /.*.*\.I$ #Unknown /.*.*\.orig$#Unknown /.*.*\.bak$ #Unknown (I assume it's a backup file) /.*.*\.A51$#Unknown /.*.*\.iex$ #Unknown 

## Authors

### Geoffrey Hunter

Dude making stuff.