- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've developed my code in the DEBUG configuration. It runs and works well on my target. When I try to run the RELEASE version it does all sorts of craziness and just doesn't work right. I've been through the project settings and can't find any differences between the two configurations. Can someone look at my project and help me out?
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Probably something gets optimized-out (I see some variables in the CAN that are not declared as volatile).
Try setting the optimization level to "debug" or "none" in your project build settings for release and see if that changes something.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Probably something gets optimized-out (I see some variables in the CAN that are not declared as volatile).
Try setting the optimization level to "debug" or "none" in your project build settings for release and see if that changes something.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By changing the optimization level to "None" my project works in RELEASE mode!