drivers/nble: Increase rx stack size
Since application callbacks happen from the rx thread we cannot have the stack as small as just 256 bytes. Make it 2kB for now, but later this needs to be adjusted to some reasonable minimum with the help of the stack analysis code, and then probably accompanied by a Kconfig option for apps to increase if if needed. Change-Id: Ie8e2ac41701101b874378ded1435a6fb06bae497 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
d4bb288f7b
commit
242501cd60
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ static NET_BUF_POOL(rx_pool, NBLE_IPC_COUNT, NBLE_BUF_SIZE, &rx, NULL, 0);
|
|||
static struct nano_fifo tx;
|
||||
static NET_BUF_POOL(tx_pool, NBLE_IPC_COUNT, NBLE_BUF_SIZE, &tx, NULL, 0);
|
||||
|
||||
static BT_STACK_NOINIT(rx_fiber_stack, 256);
|
||||
static BT_STACK_NOINIT(rx_fiber_stack, 2048);
|
||||
|
||||
static struct device *nble_dev;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue