Decouple WiFi and BT with coexist to reduce bin size

1. Do not link WiFi code when only BT or BLE is used and WiFi is not
used.

2. Do not link coexist code when CONFIG_SW_COEXIST_ENABLE is disabled.
This commit is contained in:
XiaXiaotian
2019-02-20 21:01:27 +08:00
parent bf2c46674d
commit b9b401ee39
19 changed files with 446 additions and 160 deletions

View File

@@ -924,6 +924,8 @@ menu Wi-Fi
If enabled, WiFi & Bluetooth coexistence is controlled by software rather than hardware.
Recommended for heavy traffic scenarios. Both coexistence configuration options are
automatically managed, no user intervention is required.
If only Bluetooth is used, it is recommended to disable this option to reduce binary file
size.
choice SW_COEXIST_PREFERENCE
prompt "WiFi/Bluetooth coexistence performance preference"