2019-04-06 15:08:09 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2023-08-28 21:04:28 +02:00
|
|
|
# Remove after 3.7.0 is released
|
|
|
|
if(CONFIG_BT_RPMSG)
|
|
|
|
message(FATAL_ERROR "CONFIG_BT_RPMSG has been renamed to CONFIG_BT_HCI_IPC")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# Remove after 3.7.0 is released
|
|
|
|
if(CONFIG_BT_HCI_IPC)
|
|
|
|
dt_chosen(chosen_hci_rpmsg PROPERTY "zephyr,bt-hci-rpmsg-ipc")
|
|
|
|
if(DEFINED chosen_hci_rpmsg)
|
|
|
|
message(FATAL_ERROR "zephyr,bt-hci-rpmsg-ipc has been renamed to zephyr,bt-hci-ipc")
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
2022-05-23 13:50:52 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_BT_B91 hci_b91.c)
|
2023-10-04 08:54:18 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_BT_AIROC cyw43xxx.c)
|
2021-08-04 23:22:54 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_BT_ESP32 hci_esp32.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_BT_H4 h4.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_BT_H5 h5.c)
|
2023-08-28 21:04:28 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_BT_HCI_IPC ipc.c)
|
2024-01-05 18:11:05 +01:00
|
|
|
if(CONFIG_BT_SPI)
|
|
|
|
if ((CONFIG_DT_HAS_ST_HCI_SPI_V1_ENABLED) OR (CONFIG_DT_HAS_ST_HCI_SPI_V2_ENABLED))
|
|
|
|
zephyr_library_sources(hci_spi_st.c)
|
|
|
|
else()
|
|
|
|
zephyr_library_sources(spi.c)
|
|
|
|
endif()
|
|
|
|
endif()
|
2021-08-04 23:22:54 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_BT_STM32_IPM ipm_stm32wb.c)
|
2022-09-12 16:56:03 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_BT_STM32WBA hci_stm32wba.c)
|
2021-08-04 23:22:54 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_BT_USERCHAN userchan.c)
|
2023-04-19 11:23:32 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_BT_SILABS_HCI slz_hci.c)
|
2023-05-01 07:37:59 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_BT_PSOC6_BLESS hci_psoc6_bless.c)
|
2023-03-22 12:11:25 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_SOC_NRF5340_CPUAPP nrf53_support.c)
|
2023-12-13 05:18:57 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_BT_AMBIQ_HCI hci_ambiq.c apollox_blue.c)
|
2023-01-16 22:36:00 +01:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_BT_DA1469X hci_da1469x.c)
|
2023-08-25 14:29:39 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_BT_NXP hci_nxp.c)
|