Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > Components size

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



Components size
Moderator:
ANCY

Post Reply
Follow this topic



Components size

mahmoud posted on 14 Mar 2013 3:21 AM PST
Top Contributor
67 Forum Posts

 the way I see it is that most of the components code is written to include everything. this greatly impacts my memory size criteria. 

my question is: do I have the ability (or even the right) to optimize the components based on my project?




Re: Components size

hli posted on 14 Mar 2013 06:39 AM PST
Top Contributor
675 Forum Posts

Actually most of the components use conditionals to exclude unused functionality. You see that e.g. some API elememnst are unavailable when certain features are not selected in the configuration.

Apart from that, the compiler eleminates most (if not all) dead code, meaning that unused functions are not included in the linked code.



Re: Components size

mahmoud posted on 14 Mar 2013 08:04 AM PST
Top Contributor
67 Forum Posts

 phew..... that was a relief thank u.






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