- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.