1. BLE only with 9(max) connection will decrease 3K DRAM 2. BR/EDR only with 7(max) connection will decrease 16K DRAM 3. Any of BLE or BR/EDR connection number decrease will also decrease DRAM consumption 4. Decrease one BLE connection will save about 1KB DRAM 5. Decrease one BR/EDR ACL connection will save about 1.2KB DRAM 6. Decrease one BR/EDR SCO/eSCO will save 2KB DRAM. 7. fix some definition and kconfig 8. remove 1.2k of vhci tx cache and make .bss & .data to heap about 1.4K 9. modify BT Reserved Memory size and modify example to support new bt kconfig
22 lines
615 B
Text
22 lines
615 B
Text
# Override some defaults so BT stack is enabled
|
|
# by default in this example
|
|
CONFIG_BT_ENABLED=y
|
|
CONFIG_BTDM_CONTROLLER_MODE_BLE_ONLY=y
|
|
CONFIG_BTDM_CONTROLLER_MODE_BR_EDR_ONLY=
|
|
CONFIG_BTDM_CONTROLLER_MODE_BTDM=
|
|
CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN=9
|
|
CONFIG_GATTS_NOTIFY_THROUGHPUT=y
|
|
CONFIG_BTDM_CONTROLLER_MODEM_SLEEP=n
|
|
CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE_1=y
|
|
CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE=1
|
|
#
|
|
# Serial flasher config
|
|
#
|
|
CONFIG_MONITOR_BAUD_921600B=y
|
|
CONFIG_MONITOR_BAUD=921600
|
|
#
|
|
# ESP32-specific
|
|
#
|
|
CONFIG_TRACEMEM_RESERVE_DRAM=0x0
|
|
CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE=y
|
|
CONFIG_CONSOLE_UART_BAUDRATE=921600
|