Is there a way to modify an existing component cy_lfclk?

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

cross mob
VaIk_2708246
Level 3
Level 3
10 replies posted 5 replies posted 5 questions asked

Hi

Is there a way to modify an existing component cy_lfclk?

I can import it on the components tab, I can change the code. But I can't figure out how to connect it to the project?
How to replace a component in a project with a modified one?

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello @VaIk_2708246 

Can you please check if you imported the same version of the cy_lfclk as used by you in the project?

In PSoC Creator, in workspace explorer right click on project and select Update components. Here, you can see the version of cy_lfclk used in the project.

Ekta_0-1615366438322.png

 

Import the correct version of the cy_lfclk

Ekta_1-1615366491698.png

I am attaching a project where I have made the same changes and shown in the images attached by you in the previous response. I can see the change in the generated source file as well.

I have followed the following steps:

1. Create a new project.

2. Check the version of the cy_lfclk in project and import the same version in the project.

3. Make changes in the component files present under the components tab

4. Build the project to create the generated source.

In case if you still see the issue, you can try skip code generation option as well.

Go to the Build Settings of the project, in the code generation section select skip code generation option to true. In this case you should be able to retain the changes you have made in the generated source of the project

Ekta_2-1615368080167.png

Best Regards

Ekta

 

View solution in original post

0 Likes
3 Replies