소스 검색

components/bt: Remove unused macro in menuconfig

baohongde 6 년 전
부모
커밋
d12503eb55

+ 0 - 10
components/bt/host/bluedroid/Kconfig.in

@@ -54,16 +54,6 @@ config BT_A2DP_ENABLE
     help
         Advanced Audio Distrubution Profile
 
-config BT_A2DP_SINK_TASK_STACK_SIZE
-    int "A2DP sink (audio stream decoding) task stack size"
-    depends on BT_A2DP_ENABLE
-    default 2048
-
-config BT_A2DP_SOURCE_TASK_STACK_SIZE
-    int "A2DP source (audio stream encoding) task stack size"
-    depends on BT_A2DP_ENABLE
-    default 2048
-
 config BT_SPP_ENABLED
     bool "SPP"
     depends on BT_CLASSIC_ENABLED

+ 0 - 15
components/bt/host/bluedroid/common/include/common/bluedroid_user_config.h

@@ -19,21 +19,6 @@
 #include "bt_common.h"
 #include "bt_user_config.h"
 
-/**********************************************************
- * Thread/Task reference
- **********************************************************/
-
-#ifdef CONFIG_A2DP_SINK_TASK_STACK_SIZE
-#define UC_A2DP_SINK_TASK_STACK_SIZE        CONFIG_A2DP_SINK_TASK_STACK_SIZE
-#else
-#define UC_A2DP_SINK_TASK_STACK_SIZE        2048
-#endif
-#ifdef CONFIG_A2DP_SOURCE_TASK_STACK_SIZE
-#define UC_A2DP_SOURCE_TASK_STACK_SIZE      CONFIG_A2DP_SOURCE_TASK_STACK_SIZE
-#else
-#define UC_A2DP_SOURCE_TASK_STACK_SIZE      2048
-#endif
-
 /**********************************************************
  * Profile reference
  **********************************************************/

+ 0 - 5
components/bt/host/bluedroid/common/include/common/bt_target.h

@@ -41,11 +41,6 @@
 
 #include "stack/dyn_mem.h"    /* defines static and/or dynamic memory for components */
 
-
-/* OS Configuration from User config (eg: sdkconfig) */
-#define A2DP_SINK_TASK_STACK_SIZE   UC_A2DP_SINK_TASK_STACK_SIZE
-#define A2DP_SOURCE_TASK_STACK_SIZE UC_A2DP_SOURCE_TASK_STACK_SIZE
-
 /******************************************************************************
 **
 ** Classic BT features

+ 0 - 2
components/bt/sdkconfig.rename

@@ -42,8 +42,6 @@ CONFIG_BTU_TASK_STACK_SIZE                                  CONFIG_BT_BTU_TASK_S
 CONFIG_BLUEDROID_MEM_DEBUG                                  CONFIG_BT_BLUEDROID_MEM_DEBUG
 CONFIG_CLASSIC_BT_ENABLED                                   CONFIG_BT_CLASSIC_ENABLED
 CONFIG_A2DP_ENABLE                                          CONFIG_BT_A2DP_ENABLE
-CONFIG_A2DP_SINK_TASK_STACK_SIZE                            CONFIG_BT_A2DP_SINK_TASK_STACK_SIZE
-CONFIG_A2DP_SOURCE_TASK_STACK_SIZE                          CONFIG_BT_A2DP_SOURCE_TASK_STACK_SIZE
 CONFIG_HFP_ENABLE                                           CONFIG_BT_HFP_ENABLE
 CONFIG_HFP_ROLE                                             CONFIG_BT_HFP_ROLE
 CONFIG_HFP_CLIENT_ENABLE                                    CONFIG_BT_HFP_CLIENT_ENABLE

+ 0 - 1
examples/bluetooth/bluedroid/coex/a2dp_gatts_coex/sdkconfig.defaults

@@ -19,7 +19,6 @@ CONFIG_BT_CLASSIC_ENABLED=y
 CONFIG_BT_A2DP_ENABLE=y
 CONFIG_A2DP_SINK_ENABLE=y
 CONFIG_A2DP_SRC_ENABLE=n
-CONFIG_BT_A2DP_SINK_TASK_STACK_SIZE=2048
 CONFIG_BT_SPP_ENABLED=n
 CONFIG_BT_GATTS_ENABLE=y
 CONFIG_BT_GATTC_ENABLE=n