Skip to content

Commit d42fc7a

Browse files
HoZHelkartben
authored andcommitted
drivers: bluetooth: hci: Add Bluetooth HCI driver for STM32WB0x
Add Bluetooth HCI driver for STM32WB0x series. Modify CMakeLists.txt to compile the driver based on its kconfig parameter. Signed-off-by: Ali Hozhabri <[email protected]>
1 parent 5c753c0 commit d42fc7a

File tree

2 files changed

+505
-1
lines changed

2 files changed

+505
-1
lines changed

drivers/bluetooth/hci/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ zephyr_library_sources_ifdef(CONFIG_BT_CYW208XX hci_ifx_cyw208xx.c)
1414

1515
zephyr_library_sources_ifdef(CONFIG_BT_STM32_IPM ipm_stm32wb.c)
1616
zephyr_library_sources_ifdef(CONFIG_BT_STM32WBA hci_stm32wba.c)
17-
if(CONFIG_DT_HAS_ST_HCI_STM32WBA_ENABLED)
17+
zephyr_library_sources_ifdef(CONFIG_BT_STM32WB0 hci_stm32wb0.c)
18+
if((CONFIG_DT_HAS_ST_HCI_STM32WBA_ENABLED) OR (CONFIG_DT_HAS_ST_HCI_STM32WB0_ENABLED))
1819
zephyr_blobs_verify(MODULE hal_stm32 REQUIRED)
1920
endif()
2021
zephyr_library_sources_ifdef(CONFIG_BT_USERCHAN userchan.c)

0 commit comments

Comments
 (0)