1 Reply Latest reply on Feb 1, 2019 6:01 AM by GauravS_31

    Removing unused features from 43xxx_Wi-Fi

    nafic_2915566

      Using WICED Studio 6.2.1 with a CYW43907.  There are a number of unused features that I would like to remove, to make the codebase lighter. E.g. buttons, audio, etc.  Short of going thru the whole SDK and manually removing code, there does not seem to be any way of disabling these features.  I tried setting PLATFORM_AUDIO_NUM_INPUTS to zero but then it creates compile errors with zero indexed arrays, etc.

       

      Is there a good way to remove these features? 

        • 1. Re: Removing unused features from 43xxx_Wi-Fi
          GauravS_31

          You can check the platform makefile to check if there are macros that could be disabled. For instance, there is a macro PLATFORM_SUPPORTS_BUTTONS that could be disabled for button support. Likewise you can disable ADC, audio, etc. You can also check application makefile if there are unused libraries which can be disabled.

          1 of 1 people found this helpful