Skip to content

Commit 10064bb

Browse files
committed
Add Controller task size config defaults
* Fixes issues with some devices where the controller stack overflows
1 parent 9ce304a commit 10064bb

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

cores/nRF5/nimble_config/ext_nimble_config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,8 @@ MYNEWT_VAL_MCU_TARGET__nRF5340_NET
100100
/* FIX DLE with Nimble core 1.6 */
101101
#if MYNEWT_VAL_BLE_LL_CFG_FEAT_LE_CODED_PHY
102102
#define BLE_50_FEATURE_SUPPORT 1
103+
#endif
104+
105+
#ifndef CONFIG_BT_NIMBLE_LL_TASK_STACK_SIZE
106+
#define CONFIG_BT_NIMBLE_LL_TASK_STACK_SIZE 512
103107
#endif

cores/nRF5/nimble_config/nrf51_nimconfig.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@
5151
# endif
5252
#endif
5353

54+
#ifndef CONFIG_BT_NIMBLE_LL_TASK_STACK_SIZE
55+
#define CONFIG_BT_NIMBLE_LL_TASK_STACK_SIZE 400
56+
#endif
57+
5458
#ifndef CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU
5559
#define CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU (23)
5660
#endif

0 commit comments

Comments
 (0)