Tips and Tricks - Skipping generation of APIs of a component in PSoC Creator | Cypress Semiconductor
Tips and Tricks - Skipping generation of APIs of a component in PSoC Creator
Question: Is there a way so that I can stop generating APIs for the components for which I do not want to use them?
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.