drivers: bluetooth: slz_hci: Adapt to library BLOBs version 4.2.4
Make HCI driver compatible to the updated versions of the EFR32 Bluetooth library BLOBs consisting of: * libbluetooth_controller * libbgcommon * librail Signed-off-by: Markus Fuchs <markus.fuchs@ch.sauter-bc.com>
This commit is contained in:
parent
a1afaa8b47
commit
c33492655f
2 changed files with 9 additions and 6 deletions
|
@ -16,11 +16,12 @@
|
|||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(bt_hci_driver_slz);
|
||||
|
||||
#define SL_BT_CONFIG_ACCEPT_LIST_SIZE 1
|
||||
#define SL_BT_CONFIG_MAX_CONNECTIONS 1
|
||||
#define SL_BT_CONFIG_USER_ADVERTISERS 1
|
||||
#define SL_BT_CONTROLLER_BUFFER_MEMORY CONFIG_BT_SILABS_HCI_BUFFER_MEMORY
|
||||
#define SL_BT_SILABS_LL_STACK_SIZE 1024
|
||||
#define SL_BT_CONFIG_ACCEPT_LIST_SIZE 1
|
||||
#define SL_BT_CONFIG_MAX_CONNECTIONS 1
|
||||
#define SL_BT_CONFIG_USER_ADVERTISERS 1
|
||||
#define SL_BT_CONTROLLER_BUFFER_MEMORY CONFIG_BT_SILABS_HCI_BUFFER_MEMORY
|
||||
#define SL_BT_CONTROLLER_LE_BUFFER_SIZE_MAX CONFIG_BT_BUF_ACL_TX_COUNT
|
||||
#define SL_BT_SILABS_LL_STACK_SIZE 1024
|
||||
|
||||
static K_KERNEL_STACK_DEFINE(slz_ll_stack, SL_BT_SILABS_LL_STACK_SIZE);
|
||||
static struct k_thread slz_ll_thread;
|
||||
|
@ -135,6 +136,8 @@ static int slz_bt_open(void)
|
|||
return -ENOMEM;
|
||||
}
|
||||
|
||||
sl_btctrl_configure_le_buffer_size(SL_BT_CONTROLLER_LE_BUFFER_SIZE_MAX);
|
||||
|
||||
ret = sl_btctrl_init_ll();
|
||||
if (ret) {
|
||||
LOG_ERR("Bluetooth link layer init failed %d", ret);
|
||||
|
|
2
west.yml
2
west.yml
|
@ -219,7 +219,7 @@ manifest:
|
|||
groups:
|
||||
- hal
|
||||
- name: hal_silabs
|
||||
revision: d184c2ccc0ec5a7189d6d5cb7645c7f9bd38c2b5
|
||||
revision: 20113e9520ce59ee7fa85ba10102d0880822bb3e
|
||||
path: modules/hal/silabs
|
||||
groups:
|
||||
- hal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue