samples: hci_spi: Decrease maximum number of BT connections

With the maximum number set to 20, the sample fails to build for
both platforms set as allowed for this sample and mentioned in its
documentation, i.e. 96b_carbon_nrf51 and nrf51dk_nrf51422 (a build
attempt ends up with an SRAM region overflow). Use a lower number
to prevent this failure and set both those boards as integration
platforms, so that such problem, if it was to appear again, could be
caught by CI.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
Andrzej Głąbek 2021-11-05 12:16:01 +01:00 committed by Carles Cufí
parent bc0db8931c
commit cd2236c199
2 changed files with 4 additions and 1 deletions

View file

@ -4,7 +4,7 @@ CONFIG_SPI_SLAVE=y
CONFIG_MAIN_STACK_SIZE=512
CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_MAX_CONN=20
CONFIG_BT_MAX_CONN=16
CONFIG_BT_TINYCRYPT_ECC=n
CONFIG_BT_BUF_ACL_RX_COUNT=10
CONFIG_BT_BUF_ACL_RX_SIZE=251

View file

@ -6,5 +6,8 @@ tests:
sample.bluetooth.hci_spi:
harness: bluetooth
platform_allow: 96b_carbon_nrf51 nrf51dk_nrf51422
integration_platforms:
- 96b_carbon_nrf51
- nrf51dk_nrf51422
tags: bluetooth spi
depends_on: spi