- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am in need of writing some custom code of mine in both files cyfitter.h and cyfitter_cfg.c but every time I build the project, these files get regenerated and my code is erased.
Is it possible to to tell PSOC Creator not to regenerate these file? If so, how?
Thanks,
David
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi David,
I think you can try select True for Skip Code Generation in Build Settings window.
If Skip Code Generation become True, source files won't be re-generated, but can be built and compiled.
However, in this case, Component GUI configuration changing(such as modify ADC sample rate on ADC Component GUI in TopDesign.cysch) will be ineffective (only source code regeneration can make Component GUI re-configuration effective).
Thanks,
Ryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi David,
I think you can try select True for Skip Code Generation in Build Settings window.
If Skip Code Generation become True, source files won't be re-generated, but can be built and compiled.
However, in this case, Component GUI configuration changing(such as modify ADC sample rate on ADC Component GUI in TopDesign.cysch) will be ineffective (only source code regeneration can make Component GUI re-configuration effective).
Thanks,
Ryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Ryan for your resposne.
I tried your suggestion but for the file cyfitter_cfg.c the option you mentioned doesn't exist.
In addition, for the file cyfitter.h there is no possibility to select build settings since it is a header file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ah...I just forgot to say....The Build Settings is only available for project level, not for specified files...
Thanks,
Ryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Now it works.
Thanks!