From 9f940f14f66b66402a2c6fec9e1509072784e992 Mon Sep 17 00:00:00 2001 From: zwl Date: Wed, 14 Sep 2022 17:22:07 +0800 Subject: [PATCH] change block1 size and num for esp ble controller --- components/bt/host/nimble/Kconfig.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/bt/host/nimble/Kconfig.in b/components/bt/host/nimble/Kconfig.in index ffdedab576d..8c174af5c3b 100644 --- a/components/bt/host/nimble/Kconfig.in +++ b/components/bt/host/nimble/Kconfig.in @@ -240,7 +240,8 @@ config BT_NIMBLE_SVC_GAP_APPEARANCE menu "Memory Settings" config BT_NIMBLE_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 MSYS is a system level mbuf registry. For prepare write & prepare 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 int "MSYS_1 Block Size" - default 256 + default 128 if SOC_ESP_NIMBLE_CONTROLLER + default 256 if !SOC_ESP_NIMBLE_CONTROLLER help Dynamic memory size of block 1