]> granicus.if.org Git - esp-idf/commitdiff
component/bt: fix the dependence issue in Kconfig
authorwangmengyang <wangmengyang@espressif.com>
Thu, 30 Mar 2017 13:16:11 +0000 (21:16 +0800)
committerwangmengyang <wangmengyang@espressif.com>
Thu, 30 Mar 2017 13:16:11 +0000 (21:16 +0800)
components/bt/Kconfig
examples/bluetooth/a2dp_sink/sdkconfig.defaults

index 3bce8040f2e4f531839b813b677002a8bb15184a..c38518a5378a3bedbec77f2f0dd3a94fcacc1928 100644 (file)
@@ -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
index ffdbe6ecd78240c99669947b9b70613925d5ca39..dd570f866e9806f9b374e36a1fef672d8d3eb7c5 100644 (file)
@@ -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