Use Debug/Release to condition the inclusion or activation of top level design components? Possible? How?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
JoWi_3984961
Level 4
Level 4
First like received First like given

In my project there is a Bootloadable component from Cypress, drug in from the right side under System.

When debugging I prefer to disable Bootloadable component in the top level schematic.

How can I make so the "debug" build setting excludes or disables it?

And also the so that the "release" setting includes or enables it?

0 Likes
1 Solution
4 Replies
JoWi_3984961
Level 4
Level 4
First like received First like given

Thank you Bob,

Yes, that was what I was already doing.  However, I did manage to rename TopDesign.cysch to something else.  Then, I was able to create a second schematic.  Then I was able to add that "existing" schematic to my project.  My project ignored it, using only the one I had renamed.

After looking at the project file .xml, I see it places my second schematic way down the list in there.

How to have a second component schematic?

0 Likes
JoWi_3984961
Level 4
Level 4
First like received First like given

Further, there is a configuration setting on these components, debug or release.  I was hoping I could use that to have one of the schematics only included for release, the part with the bootloadable and other baggage.

0 Likes