components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller

This commit is contained in:
baohongde
2021-09-16 15:57:57 +08:00
committed by BOT
parent 4b0c1d6f71
commit 99adcfbda0
72 changed files with 34 additions and 79 deletions

View File

@@ -17,8 +17,8 @@
#include "sdkconfig.h"
/* If BT is not built at all */
#ifndef CONFIG_BT_RESERVE_DRAM
#define CONFIG_BT_RESERVE_DRAM 0
#ifndef CONFIG_BTDM_RESERVE_DRAM
#define CONFIG_BTDM_RESERVE_DRAM 0
#endif
#ifdef CONFIG_BOOTLOADER_CUSTOM_RESERVE_RTC
@@ -73,8 +73,8 @@ MEMORY
in heap at runtime. However due to static ROM memory usage at this 176KB mark, the
additional static memory temporarily cannot be used.
*/
dram0_0_seg (RW) : org = 0x3FFB0000 + CONFIG_BT_RESERVE_DRAM,
len = DRAM0_0_SEG_LEN - CONFIG_BT_RESERVE_DRAM
dram0_0_seg (RW) : org = 0x3FFB0000 + CONFIG_BTDM_RESERVE_DRAM,
len = DRAM0_0_SEG_LEN - CONFIG_BTDM_RESERVE_DRAM
#ifdef CONFIG_APP_BUILD_USE_FLASH_SECTIONS
/* Flash mapped constant data */