Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® Software > Tips and Tricks - Skipping generation of APIs of a component in PSoC Creator

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Tips and Tricks - Skipping generation of APIs of a component in PSoC Creator
Moderator:
JFMD

Post Reply
Follow this topic



Tips and Tricks - Skipping generation of APIs of a component in PSoC Creator

Gautam Das posted on 03 Dec 2011 9:27 AM PST
Cypress Employee
742 Forum Posts

Question: Is there a way so that I can stop generating APIs for the components for which I do not want to use them?

Answer: 

Yes. When you configure any component in PSoC Creator, you will find "Built-In" tab in configuration window. There is a parameter named “CY_SUPPRESS_API_GEN”. This will by default be assigned to false. If you do not want to use any of the APIs for this component and hence do not want to generate APIs for this component, you can set this value to true. This will suppress generate any APIs for the selected component. This is helpful to reduce flash memory consumption by the components.




Re: Tips and Tricks - Skipping generation of APIs of a component in PSoC Creator

kmmankad posted on 13 Dec 2011 07:38 AM PST
Top Contributor
268 Forum Posts

Great tip,thanks! ..

This is exactly what I chanced upon recently,hunting for the reason behind high(almost 15%!) for even very simple starter level projects.



Re: Tips and Tricks - Skipping generation of APIs of a component in PSoC Creator

Asha Ganesan posted on 05 Feb 2013 09:52 PM PST
Cypress Employee
2 Forum Posts

 Hi DASG,

 

I think a KB article about this would be useful, as many of them are not aware of this.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20