esp32/Kconfig: Make ESP32_BT_RESERVE_DRAM default to 0 again if

Bluetooth is not enabled.  When Bluetooth is enbaled then it defaults to
64KB.  This will not wast those 64KB of memory when Bluetooth is not enabled.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche
2021-11-01 10:46:48 +01:00
committed by Xiang Xiao
parent aec01e96fa
commit 73f15ed544
+2 -1
View File
@@ -541,7 +541,8 @@ menu "Memory Configuration"
config ESP32_BT_RESERVE_DRAM config ESP32_BT_RESERVE_DRAM
int "Reserved BT DRAM" int "Reserved BT DRAM"
default 65536 default 0 if !ESP32_BLE
default 65536 if ESP32_BLE
config ESP32_TRACEMEM_RESERVE_DRAM config ESP32_TRACEMEM_RESERVE_DRAM
int "Reserved trace memory DRAM" int "Reserved trace memory DRAM"