From 3e6a34dafb1fd2b8d0707effc378659b42796484 Mon Sep 17 00:00:00 2001 From: Giorgio Garasto Date: Fri, 13 Oct 2023 19:06:42 +0200 Subject: [PATCH 1/2] fix: increase esp32s3 bt tasks stack size to 8k --- configs/defconfig.esp32s3 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/defconfig.esp32s3 b/configs/defconfig.esp32s3 index df73126e2..6ad7ae4fb 100644 --- a/configs/defconfig.esp32s3 +++ b/configs/defconfig.esp32s3 @@ -7,4 +7,6 @@ CONFIG_ESP32S3_UNIVERSAL_MAC_ADDRESSES_TWO=y # CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1 is not set CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=3120 -CONFIG_ESP_SYSTEM_MEMPROT_FEATURE=n \ No newline at end of file +CONFIG_ESP_SYSTEM_MEMPROT_FEATURE=n +CONFIG_BT_BTC_TASK_STACK_SIZE=8192 +CONFIG_BT_BTU_TASK_STACK_SIZE=8192 \ No newline at end of file From 800d7b018968e61071f287ca9d3058210d0fff25 Mon Sep 17 00:00:00 2001 From: Giorgio Garasto Date: Fri, 13 Oct 2023 19:08:02 +0200 Subject: [PATCH 2/2] feat: apply 8k bt tasks size to all chips --- configs/defconfig.common | 2 ++ configs/defconfig.esp32 | 2 -- configs/defconfig.esp32s3 | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/configs/defconfig.common b/configs/defconfig.common index 68ba0ddb0..b1c696511 100644 --- a/configs/defconfig.common +++ b/configs/defconfig.common @@ -6,6 +6,8 @@ CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP=y CONFIG_BT_ENABLED=y CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y +CONFIG_BT_BTC_TASK_STACK_SIZE=8192 +CONFIG_BT_BTU_TASK_STACK_SIZE=8192 CONFIG_BLE_MESH=y CONFIG_COMPILER_OPTIMIZATION_SIZE=y CONFIG_COMPILER_CXX_EXCEPTIONS=y diff --git a/configs/defconfig.esp32 b/configs/defconfig.esp32 index 65bc3f0c3..08f787f8d 100644 --- a/configs/defconfig.esp32 +++ b/configs/defconfig.esp32 @@ -1,7 +1,5 @@ CONFIG_BTDM_CTRL_MODE_BTDM=y CONFIG_BTDM_SCAN_DUPL_CACHE_SIZE=20 -CONFIG_BT_BTC_TASK_STACK_SIZE=8192 -CONFIG_BT_BTU_TASK_STACK_SIZE=8192 CONFIG_BT_CLASSIC_ENABLED=y CONFIG_BT_A2DP_ENABLE=y CONFIG_BT_SPP_ENABLED=y diff --git a/configs/defconfig.esp32s3 b/configs/defconfig.esp32s3 index 6ad7ae4fb..df73126e2 100644 --- a/configs/defconfig.esp32s3 +++ b/configs/defconfig.esp32s3 @@ -7,6 +7,4 @@ CONFIG_ESP32S3_UNIVERSAL_MAC_ADDRESSES_TWO=y # CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1 is not set CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=3120 -CONFIG_ESP_SYSTEM_MEMPROT_FEATURE=n -CONFIG_BT_BTC_TASK_STACK_SIZE=8192 -CONFIG_BT_BTU_TASK_STACK_SIZE=8192 \ No newline at end of file +CONFIG_ESP_SYSTEM_MEMPROT_FEATURE=n \ No newline at end of file