Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® Software > Software version control?

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



Software version control?
Moderator:
JFMD

Post Reply
Follow this topic



Software version control?

supton posted on 25 Mar 2011 10:31 AM PST
Senior Member
15 Forum Posts

On prior embedded projects, I would debug some code, and get some bit of it working--and save a copy of that.  That way, if something broke, no matter how many changes I had made since the last "version" I could always roll back.  I would do this by basically doing a "save copy as", in which I would take the file name and append "_v1.3" or somesuch to it.  [That way, the working file would stay as it is, and I would not have to changing any linking.]

I don't see a "save copy as", though; just "save as".  Which brings me to question #2: can my main program file be something other than "main.c" or is it stuck with that as the main file?  Software is not my forte, and I haven't a real clue how other C projects are done.  If "main.c" could be anything, I could just keep updating this file name, and look back if necessary to other files if I made some mistake.

Thanks

Shawn




Re: Software version control?

Robert-CY posted on 29 Mar 2011 05:14 PM PST
Cypress Employee
129 Forum Posts

Shawn,

There is a functionality implemented in Creator under "File" called "Create Workspace Bundle". This can do the job of archiving a version.

Hope this fulfils your needs.

Robert

 



Re: Software version control?

CKF posted on 30 Mar 2011 02:33 PM PST
Cypress Employee
32 Forum Posts

You can also copy and paste a file.  For example, select and copy main.c. Then select a folder and paste.  Creator will append "01" to the file name, and you can change it to anything you want.

You can also use Save As for an entire Project, but that might be overkill for what you want.



Re: Software version control?

supton posted on 31 Mar 2011 05:05 AM PST
Senior Member
15 Forum Posts

Oh, that might work--make a "Archive" folder or somesuch, and do copy/paste, with appropriate version control (of my picking, if "01" "02" etc does not appeal to me).  Ok, that might take care of it.

Thanks.

Shawn






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: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20