cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

New Contributor

When a project is built, the .cyprj file often ends up with a change such as this, even though the project was not modified:

-<current_generation v="263" />

+<current_generation v="267" />

That creates confusion when using source control, because it's not clear whether there was any substantive change to the file that requires it to be committed. So we end up polluting the commits as well as creating confusion over whether someone changed something in the project.

It appears that a similar problem occurs with the .cyfit file.

How can we disable that behavior?

0 Likes
Reply
1 Solution
Moderator
Moderator

This is a known issue with PSoC Creator which was reported but there was no project attached. The software team has been evaluating this query but it would help if you could attach your project.

The tag you mentioned is used to keep track of when code generation has been done for the components, telling the system when we are in need of regenerating code. It's an int counter.

The .cyfit file can be part of the .gitignore. It gets generated every time the project is built. Please check what files need to be checked in to version control here: Revision Control for PSoC® Creator™ Projects - KBA86358

Looking forward to your reply!

Regards,

Dheeraj

View solution in original post

0 Likes
Reply
1 Reply
Moderator
Moderator

This is a known issue with PSoC Creator which was reported but there was no project attached. The software team has been evaluating this query but it would help if you could attach your project.

The tag you mentioned is used to keep track of when code generation has been done for the components, telling the system when we are in need of regenerating code. It's an int counter.

The .cyfit file can be part of the .gitignore. It gets generated every time the project is built. Please check what files need to be checked in to version control here: Revision Control for PSoC® Creator™ Projects - KBA86358

Looking forward to your reply!

Regards,

Dheeraj

View solution in original post

0 Likes
Reply