This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 73f15ed  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.
73f15ed is described below

commit 73f15ed5445383e44efbe8e8686c20298d963978
Author: Abdelatif Guettouche <[email protected]>
AuthorDate: Mon Nov 1 10:46:48 2021 +0100

    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 <[email protected]>
---
 arch/xtensa/src/esp32/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/xtensa/src/esp32/Kconfig b/arch/xtensa/src/esp32/Kconfig
index fdca65a..93bd718 100644
--- a/arch/xtensa/src/esp32/Kconfig
+++ b/arch/xtensa/src/esp32/Kconfig
@@ -541,7 +541,8 @@ menu "Memory Configuration"
 
 config ESP32_BT_RESERVE_DRAM
        int "Reserved BT DRAM"
-       default 65536
+       default 0 if !ESP32_BLE
+       default 65536 if ESP32_BLE
 
 config ESP32_TRACEMEM_RESERVE_DRAM
        int "Reserved trace memory DRAM"

Reply via email to