diff options
author | Carles Cufi <carles.cufi@nordicsemi.no> | 2016-12-30 12:01:05 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2017-01-05 08:49:16 +0200 |
commit | 4b7cdd499f31009219a672bb9adb9a43bad1c247 (patch) | |
tree | 59f1887d0d8415ca9490d6c41bf5f70dde1b5000 /samples/bluetooth | |
parent | ce61122cdf3e00c821f3c8f5808ae8dedb02a370 (diff) |
bluetooth: Tune stack sizes after measuring with hci_uart
The following readings were obtained after running the peripheral and
central_hr apps in qemu combined with the controller (hci_uart) on nRF51
and nRF52:
Main Stack 380
Idle Stack: 68
ISR stack: 532
Controller RX Stack: 388
HCI TX Stack: 516
The numbers set in this change provide a safety margin from the ones
measured empirically.
Change-id: Ice7ad7f081502e0ea1accf856a7937c0bf0783b2
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
Diffstat (limited to 'samples/bluetooth')
-rw-r--r-- | samples/bluetooth/hci_uart/nrf5.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bluetooth/hci_uart/nrf5.conf b/samples/bluetooth/hci_uart/nrf5.conf index f70a0a3fa..3ae001b1c 100644 --- a/samples/bluetooth/hci_uart/nrf5.conf +++ b/samples/bluetooth/hci_uart/nrf5.conf @@ -8,7 +8,7 @@ CONFIG_UART_NRF5_BAUD_RATE=1000000 CONFIG_UART_NRF5_FLOW_CONTROL=y CONFIG_MAIN_STACK_SIZE=512 CONFIG_IDLE_STACK_SIZE=256 -CONFIG_ISR_STACK_SIZE=512 +CONFIG_ISR_STACK_SIZE=640 CONFIG_BLUETOOTH=y CONFIG_BLUETOOTH_HCI_RAW=y CONFIG_BLUETOOTH_MAX_CONN=20 |