component/bt: fix the dependence issue in Kconfig
This commit is contained in:
parent
af843a9517
commit
c9d29d109e
2 changed files with 2 additions and 5 deletions
|
@ -21,16 +21,14 @@ config CLASSIC_BT_ENABLED
|
||||||
bool "Classic Bluetooth"
|
bool "Classic Bluetooth"
|
||||||
depends on BT_ENABLED
|
depends on BT_ENABLED
|
||||||
default n
|
default n
|
||||||
help
|
|
||||||
BT_DRAM_RELEASE should be set TRUE if Classic Bluetooth is enabled
|
|
||||||
|
|
||||||
config BT_DRAM_RELEASE
|
config BT_DRAM_RELEASE
|
||||||
bool "Release DRAM from Classic BT controller"
|
bool "Release DRAM from Classic BT controller"
|
||||||
depends on BT_ENABLED
|
depends on BT_ENABLED && !CLASSIC_BT_ENABLED
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This option should only be used when BLE only.
|
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.
|
The released DRAM will be used as system heap memory.
|
||||||
|
|
||||||
# Memory reserved at start of DRAM for Bluetooth stack
|
# Memory reserved at start of DRAM for Bluetooth stack
|
||||||
|
|
|
@ -2,5 +2,4 @@
|
||||||
# Classic BT is enabled and BT_DRAM_RELEASE is disabled
|
# Classic BT is enabled and BT_DRAM_RELEASE is disabled
|
||||||
CONFIG_BT_ENABLED=y
|
CONFIG_BT_ENABLED=y
|
||||||
CONFIG_CLASSIC_BT_ENABLED=y
|
CONFIG_CLASSIC_BT_ENABLED=y
|
||||||
# CONFIG_BT_DRAM_RELEASE is not set
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue