Anonymous
Not applicable
Dec 16, 2015
03:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 16, 2015
03:21 PM
I have written a small amount of code, that I put in a "generated_source" file.
Of course, each time I regenerate, it overwrites my "custom" code.
is there somehow I can delimit this code so it's retained in the "generated_source" file??
I thought there was, but not having luck searching for it on Cypress site!
Thanks
Labels
- Labels:
-
BLE
3 Replies
Dec 16, 2015
11:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 16, 2015
11:33 PM
There are "Callback Macros" provided to get called (usually from an interrupt). Leaving code in a generated file will not last for a Creator version or component version change and should be avoided. I did program a lot of projects so far and I never really needed my own code in a generated file.
The last help for you is always: Create your own component and have your own files generated.
Bob
Anonymous
Not applicable
Dec 17, 2015
07:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 17, 2015
07:18 AM
Thanks Bob!
Dec 17, 2015
07:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 17, 2015
07:21 AM
You're always welcome.
Bob