Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® Software > Adding project files to SVN

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Adding project files to SVN
Moderator:
JFMD

Post Reply
Follow this topic



Adding project files to SVN

Rocketmagnet posted on 04 May 2012 10:08 AM PST
Top Contributor
91 Forum Posts

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

 

 

 




Re: Adding project files to SVN

LookAtSystemSolutions posted on 08 May 2012 03:16 PM PST
Top Contributor
31 Forum Posts

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?

 



Re: Adding project files to SVN

occupy posted on 21 Sep 2012 01:56 PM PST
Top Contributor
61 Forum Posts

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,



Re: Adding project files to SVN

srim posted on 21 Sep 2012 09:07 PM PST
Cypress Employee
121 Forum Posts

 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 

 

 



Re: Adding project files to SVN

gbmhunter posted on 26 Sep 2012 03:25 PM PST
Top Contributor
23 Forum Posts

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-psoc-creator-in-regexp-syntax

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






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20