- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Some time, when i change components in 'topdesign' and click 'build design'
All of my code is erased under "/* Place your Interrupt code here. */" in psoc code
how can i maintain my code under "/* Place your Interrupt code here. */" in psoc code after changing component?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Park,
Could you please confirm whether you are placing the customized code between the default locations of /* `#START */ and /* `#END` */? By default, PSoC Creator would retain custom includes, defines and code between them.
Please make use of this Knowledge Base Article to retain modifications in Generated Source Files after build Avoiding changes in the source file to get overwritten in PSoC Creator
Best Regards,
Geona Mary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Usually the code between the Start and the End are kept unchanged.
I prefer not to mess in generated code. When using the isr_StartEx() API you may declare your own interrupt handler in your code.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Park,
Could you please confirm whether you are placing the customized code between the default locations of /* `#START */ and /* `#END` */? By default, PSoC Creator would retain custom includes, defines and code between them.
Please make use of this Knowledge Base Article to retain modifications in Generated Source Files after build Avoiding changes in the source file to get overwritten in PSoC Creator
Best Regards,
Geona Mary