Skip to content

Commit

Permalink
Add .gitignore and .gitattributes file
Browse files Browse the repository at this point in the history
  • Loading branch information
kchuang1 committed Apr 26, 2018
0 parents commit c571748
Show file tree
Hide file tree
Showing 2 changed files with 151 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#
# Set the default behavior, in case people don't have core.autocrlf set.
#
* text=auto

#
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
#
*.c text
*.h text
*.s text
*.uvproj text
*.ini text
*.eww text
*.ewp text
*.ewd text
*.html text
*.js text
*.css text
*.txt text

#
# Denote all files that are truly binary and should not be modified.
#
*.a binary
*.lib binary
*.bin binary
*.pdf binary
*.chm binary
*.rtf binary
*.png binary
119 changes: 119 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
#
# For Keil
#
obj/
lst/
RTE/

#
# For IAR
#
Debug/
Release/
settings/

#
# For GCC
#

!.cproject
!.project
!.ld
!.S

Packages/
version.ini
.lock
.location
.markers
.history/
.mylyn/
.settings/
RemoteSystemsTempFiles/
Samplecode/*/*/GCC/.metadata/.plugins/*
Samplecode/*/*/packages/
Samplecode/*/GCC/.metadata/.plugins/*
Samplecode/*/packages/

org.eclipse.core.resources/*.snap



!Samplecode/*/*/GCC/.metadata/.plugins/org.eclipse.core.resources/
!Samplecode/*/*/GCC/.metadata/.plugins/org.eclipse.debug.core/
!Samplecode/*/*/GCC/.metadata/.plugins/org.eclipse.debug.ui/
!Samplecode/*/*/GCC/.metadata/.plugins/org.eclipse.e4.workbench/
!Samplecode/*/*/GCC/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/

!Samplecode/*/GCC/.metadata/.plugins/org.eclipse.core.resources/
!Samplecode/*/GCC/.metadata/.plugins/org.eclipse.debug.core/
!Samplecode/*/GCC/.metadata/.plugins/org.eclipse.debug.ui/
!Samplecode/*/GCC/.metadata/.plugins/org.eclipse.e4.workbench/
!Samplecode/*/GCC/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/



#
# For OSX
#
.DS_Store

#
# Files
#
*.log
*.dep
*.bak
*.uvgui.*
*.uvguix.*
*.uvopt
*.uvproj.saved_uv4
*.scvd
*.txt
*.old
*.bin
*.obj
*.orig
*.ok
*~
*.o
*.i
*.lst
*.map
*.d
*.crf
*.axf
*.out
*.pbi
*.cout
*.browse
*.scc
*.ewt

#
# Large stuff
#
*.zip
*.gz
*.bz
*.gzip
*.7z
*.rar

#
# Exception
#
!SampleCode/StdDriver/FMC_IAP/IAR/Release/
!SampleCode/StdDriver/FMC_IAP/IAR/Release/Exe/
!SampleCode/StdDriver/FMC_IAP/IAR/Release/Exe/fmc_ld_iap.bin
!SampleCode/StdDriver/FMC_IAP/KEIL/obj/
!SampleCode/StdDriver/FMC_IAP/KEIL/obj/fmc_ld_iap.bin
!SampleCode/StdDriver/FMC_IAP/GCC/LDROM_iap.bin

!SampleCode/RegBased/FMC_IAP/IAR/Release/
!SampleCode/RegBased/FMC_IAP/IAR/Release/Exe/
!SampleCode/RegBased/FMC_IAP/IAR/Release/Exe/fmc_ld_iap.bin
!SampleCode/RegBased/FMC_IAP/KEIL/obj/
!SampleCode/RegBased/FMC_IAP/KEIL/obj/fmc_ld_iap.bin
!SampleCode/RegBased/FMC_IAP/GCC/LDROM_iap.bin

0 comments on commit c571748

Please sign in to comment.