change block1 size and num for esp ble controller

This commit is contained in:
zwl
2022-09-14 17:22:07 +08:00
parent 140b7d792b
commit a5b0009cf8

View File

@@ -240,7 +240,8 @@ config BT_NIMBLE_SVC_GAP_APPEARANCE
menu "Memory Settings" menu "Memory Settings"
config BT_NIMBLE_MSYS_1_BLOCK_COUNT config BT_NIMBLE_MSYS_1_BLOCK_COUNT
int "MSYS_1 Block Count" int "MSYS_1 Block Count"
default 12 default 24 if SOC_ESP_NIMBLE_CONTROLLER
default 12 if !SOC_ESP_NIMBLE_CONTROLLER
help help
MSYS is a system level mbuf registry. For prepare write & prepare MSYS is a system level mbuf registry. For prepare write & prepare
responses MBUFs are allocated out of msys_1 pool. For NIMBLE_MESH responses MBUFs are allocated out of msys_1 pool. For NIMBLE_MESH
@@ -249,7 +250,8 @@ menu "Memory Settings"
config BT_NIMBLE_MSYS_1_BLOCK_SIZE config BT_NIMBLE_MSYS_1_BLOCK_SIZE
int "MSYS_1 Block Size" int "MSYS_1 Block Size"
default 256 default 128 if SOC_ESP_NIMBLE_CONTROLLER
default 256 if !SOC_ESP_NIMBLE_CONTROLLER
help help
Dynamic memory size of block 1 Dynamic memory size of block 1