IGNORE FILES

uVision Version Control With Mercurial

Date Published:
Last Modified:

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

#************************************************************************
#************************* UVISION 4 IGNORE FILES ***********************
#************************************************************************

# Project Files
<uVision root dir>/.*.*\.OPT$		#uVision local project files (debugger settings, current open files, screen positions)

# Listing Files
<uVision root dir>/.*.*\.lst$		#Listing files generated by C compiler or assembler
<uVision root dir>/.*.*\.LST$		#Ditto
<uVision root dir>/.*.*\.MAP$		#Map File generated by linker
<uVision root dir>/.*.*\.M51$		#Map File generated by linker
<uVision root dir>/.*.*\.M66$		#Map File generated by linker
<uVision root dir>/.*.*\.PLG$		#Contents of build window
<uVision root dir>/.*.*\.COD$		#Complete program listing file

# Object and Hex Files
<uVision root dir>/.*.*\.DMO$		#Relocateable object files
<uVision root dir>/.*.*\.obj$		#Relocateable object files
<uVision root dir>/.*.*\.OBJ$		#Relocateable object files
<uVision root dir>/.*.*\.B\*$		#Absolute object files
<uVision root dir>/.*.*\.hex$		#Intel hex file
<uVision root dir>/.*.*\.h86$		#Intel hex file
<uVision root dir>/.*.*\.axf$		#ARM executable format file

# Debugger Files
<uVision root dir>/.*.*\.ini$		#Debugger initiliasation file

# Temporary Files
<uVision root dir>/.*.*\.orc$		#Global register coloring file for optimisation
<uVision root dir>/.*.*\.lnp$		#Linker input file
<uVision root dir>/.*.*\.plg$		#Protocol file
<uVision root dir>/.*.*\.sct$		#ARM scatter file
<uVision root dir>/.*.*\.tra$		#Trace output file

# Other
<uVision root dir>/.*.*\.__i$     	#Unknown
<uVision root dir>/.*.*\.i$    		#Unknown
<uVision root dir>/.*.*\.I$    		#Unknown
<uVision root dir>/.*.*\.orig$    	#Unknown
<uVision root dir>/.*.*\.bak$     	#Unknown (I assume it's a backup file)
<uVision root dir>/.*.*\.A51$     	#Unknown
<uVision root dir>/.*.*\.iex$     	#Unknown

Like this page? Upvote with shurikens!

Tags:

    comments powered by Disqus