You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2019/12/09 14:26:43 UTC
[mynewt-nimble] branch master updated: nimble/ll: Use bigger LL
task stack with ext adv
This is an automated email from the ASF dual-hosted git repository.
andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push:
new e06ac69 nimble/ll: Use bigger LL task stack with ext adv
e06ac69 is described below
commit e06ac69d95246212bdedaeaabdd7cc6870223819
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Tue Nov 26 16:09:32 2019 +0100
nimble/ll: Use bigger LL task stack with ext adv
This was removed in 275718ac but as it turns out, we need more stack for
extended and (especially) periodic advertising when running on CM0.
120 words give us few words to spare when running all features on CM0.
---
nimble/controller/src/ble_ll.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/nimble/controller/src/ble_ll.c b/nimble/controller/src/ble_ll.c
index 2d39b14..d44a778 100644
--- a/nimble/controller/src/ble_ll.c
+++ b/nimble/controller/src/ble_ll.c
@@ -229,7 +229,11 @@ static void ble_ll_event_dbuf_overflow(struct ble_npl_event *ev);
#if MYNEWT
/* The BLE LL task data structure */
+#if MYNEWT_VAL(BLE_LL_CFG_FEAT_LL_EXT_ADV)
+#define BLE_LL_STACK_SIZE (120)
+#else
#define BLE_LL_STACK_SIZE (90)
+#endif
struct os_task g_ble_ll_task;