From c9d29d109e53ff1a0e52f7cd07446d194af91fd2 Mon Sep 17 00:00:00 2001 From: wangmengyang Date: Thu, 30 Mar 2017 21:16:11 +0800 Subject: [PATCH] component/bt: fix the dependence issue in Kconfig --- components/bt/Kconfig | 6 ++---- examples/bluetooth/a2dp_sink/sdkconfig.defaults | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/components/bt/Kconfig b/components/bt/Kconfig index 3bce8040f2..c38518a537 100644 --- a/components/bt/Kconfig +++ b/components/bt/Kconfig @@ -21,16 +21,14 @@ config CLASSIC_BT_ENABLED bool "Classic Bluetooth" depends on BT_ENABLED default n - help - BT_DRAM_RELEASE should be set TRUE if Classic Bluetooth is enabled config BT_DRAM_RELEASE bool "Release DRAM from Classic BT controller" - depends on BT_ENABLED + depends on BT_ENABLED && !CLASSIC_BT_ENABLED default n help This option should only be used when BLE only. - Open this option will release about 30K DRAM from Classic BT. + Enabling this option will release about 30K DRAM from Classic BT. The released DRAM will be used as system heap memory. # Memory reserved at start of DRAM for Bluetooth stack diff --git a/examples/bluetooth/a2dp_sink/sdkconfig.defaults b/examples/bluetooth/a2dp_sink/sdkconfig.defaults index ffdbe6ecd7..dd570f866e 100644 --- a/examples/bluetooth/a2dp_sink/sdkconfig.defaults +++ b/examples/bluetooth/a2dp_sink/sdkconfig.defaults @@ -2,5 +2,4 @@ # Classic BT is enabled and BT_DRAM_RELEASE is disabled CONFIG_BT_ENABLED=y CONFIG_CLASSIC_BT_ENABLED=y -# CONFIG_BT_DRAM_RELEASE is not set