drivers: bluetooth: Introduce SiWx91x HCI driver

Driver was tested with a custom application which enabled the BT_SHELL.
Basic functionalities were verified:
 - Scanning
 - Advertising
 - Connecting

Configuration needed for the test:
 - CONFIG_BT=y
 - CONFIG_BT_PERIPHERAL=y
 - CONFIG_BT_CENTRAL=y
 - CONFIG_BT_SHELL=y
 - CONFIG_SHELL=y

Co-authored-by: Tibor Laczko <tibor.laczko@silabs.com>
Signed-off-by: Tibor Laczko <tibor.laczko@silabs.com>
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
This commit is contained in:
Jérôme Pouiller 2025-02-03 14:43:15 +01:00 committed by Benjamin Cabé
commit aa6914dc56
6 changed files with 176 additions and 0 deletions

View file

@ -62,6 +62,20 @@ zephyr_library_sources_ifdef(CONFIG_DMA_SILABS_SIWX91X
${WISECONNECT_DIR}/components/device/silabs/si91x/mcu/drivers/rom_driver/src/rsi_rom_table_si91x.c
)
if(CONFIG_BT_SILABS_SIWX91X)
zephyr_compile_definitions(
SLI_SI91X_ENABLE_BLE
)
zephyr_include_directories(
${WISECONNECT_DIR}/components/device/silabs/si91x/wireless/ble/inc
)
zephyr_library_sources(
${WISECONNECT_DIR}/components/device/silabs/si91x/wireless/ble/src/rsi_bt_ble.c
${WISECONNECT_DIR}/components/device/silabs/si91x/wireless/ble/src/rsi_common_apis.c
${WISECONNECT_DIR}/components/device/silabs/si91x/wireless/ble/src/rsi_utils.c
)
endif() # CONFIG_BT_SILABS_SIWX91X
if(CONFIG_WISECONNECT_NETWORK_STACK)
zephyr_compile_definitions(
SLI_SI91X_ENABLE_OS