mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-02 05:36:31 +00:00
components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller
This commit is contained in:
@@ -766,7 +766,7 @@ menu "ESP32-specific"
|
||||
depends on ESP32_USE_FIXED_STATIC_RAM_SIZE
|
||||
help
|
||||
RAM size dedicated for static variables (.data & .bss sections).
|
||||
Please note that the actual length will be reduced by BT_RESERVE_DRAM if Bluetooth
|
||||
Please note that the actual length will be reduced by BTDM_RESERVE_DRAM if Bluetooth
|
||||
controller is enabled.
|
||||
|
||||
config ESP32_DPORT_DIS_INTERRUPT_LVL
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user