Adding project files to SVN

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
HuEl_264296
Level 5
Level 5
First like given 25 sign-ins First solution authored

Hi,

   

 

   

I am trying to add my PSoC Creator 2.0 project to the SVN repository, but I'm not sure which files I should add.

   

 

   

I have added the following:

   

* All .c and .h files I have written my self

   

* TopDesign.cysch and the folder it is in

   

 

   

I assume (am I correct) that you're not meant to add:

   

* The DP8051 folder

   

* The Generated_Source folder

   

* The codegentemp folder

   

* SF_01_timing.html

   

* SF_01.cyfit

   

* SF_01.cycdx

   

* SF_01.rpt

   

 

   

But what about the other files:

   

* SF_01.cyversion

   

* SF_01_PSoC3lib.uvopt

   

* SF_01.cydwr

   

* SF_01.cyprj

   

* SF_01_PSoC3lib.uvproj

   

* SF_01.cyprj.Administrator

   

 

   

Can anyone tell me? Is there any documentation on this?

   

 

   

Many thanks

   

Hugo Elias

0 Likes
5 Replies
Anonymous
Not applicable

Interesting question because version control is something that does not come easy with Creator.

   

* SF_01.cydwr

   

Design wide resources, this information is generated and probably does not need to be captured

   

 

   

* SF_01.cyprj

   

The project file would make my list.

   

 

   

Any experts on Version Control with PSoC Creator around?

0 Likes
Anonymous
Not applicable

manytimes   we  only  add the All .c and .h files   if you  willing to  build a  new  project,

   

the

   

* SF_01.cyversion

   

* SF_01_PSoC3lib.uvopt

   

* SF_01.cydwr

   

* SF_01.cyprj

   

* SF_01_PSoC3lib.uvproj

   

* SF_01.cyprj.Administrator

   

are  configure files ,  if  you  build  a  new  project ,   there  may  built  many new  files   like  these automateic,

0 Likes
Anonymous
Not applicable

 Hi,

   

I usually add (keep) these files in the version control to retreive my projects correctly.

   

1) *.cywrk

   

2) *.cydsn --> main.c, device.h, *.cydwr, *.cyprj, TopDesign-->*.cysch

   

These files are must for a project to be opened in creator.Not sure if this is documented somewhere.

   

 

   

Thanks,

   

srim 

0 Likes
Anonymous
Not applicable

It isn't SVN, but I've got a ignore file that I use with Mercurial SCM. The ignore file is shown here: 

   

cladlab.com/programming/microcontrollers/general/version-control-systems/mercurial-ignore-file-for-p...

   

It is important to note that the file types matched with this regexp syntax are those which are NOT included in the repo.

0 Likes
JoBr_1593366
Level 5
Level 5
100 sign-ins 50 questions asked 100 replies posted

This article lists some files but misspells some of them and isn't very thorough: "Revision Control for PSoC® Creator™ Projects - KBA86358"

   

I've added these exclusions:

   
*.cycdx *.cyfit *.cyprj.username *.cywrk.username *.elf *.gitignore *.hex *.html *.pdf *.rpt *.svd *.uvopt *.uvproj codegentemp Generated_Source /Archive /Backup CLEAN.log ComponentUpdateLog.txt
0 Likes