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
#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
**********************************************************/
#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
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
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