- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Labels:
-
PSoC Creator & Designer Software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Import the correct version of the cy_lfclk
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
Best Regards
Ekta