|
1 | 1 | # SPDX-License-Identifier: Apache-2.0
|
2 | 2 |
|
3 |
| -zephyr_library_sources_ifdef(CONFIG_BT_ESP32 hci_esp32.c) |
| 3 | +if (CONFIG_BUILD_ONLY_NO_BLOBS) |
| 4 | + message(WARNING " |
| 5 | + --------------------------------------------------------------------------- |
| 6 | + Building only the Bluetooth driver without binary blobs and patches. |
| 7 | + This is only for building (CI) purposes and will not work on a real device. |
| 8 | + --------------------------------------------------------------------------- |
| 9 | + ") |
| 10 | +else() |
| 11 | + |
4 | 12 | if(CONFIG_DT_HAS_ESPRESSIF_ESP32_BT_HCI_ENABLED)
|
5 | 13 | zephyr_blobs_verify(MODULE hal_espressif REQUIRED)
|
6 | 14 | endif()
|
| 15 | + |
| 16 | +if((CONFIG_DT_HAS_ST_HCI_STM32WBA_ENABLED) OR (CONFIG_DT_HAS_ST_HCI_STM32WB0_ENABLED)) |
| 17 | + zephyr_blobs_verify(MODULE hal_stm32 REQUIRED) |
| 18 | +endif() |
| 19 | + |
| 20 | +if(CONFIG_DT_HAS_SILABS_BT_HCI_EFR32_ENABLED) |
| 21 | + zephyr_blobs_verify(MODULE hal_silabs REQUIRED) |
| 22 | +endif() |
| 23 | + |
| 24 | +if(CONFIG_DT_HAS_INFINEON_CAT1_BLESS_HCI_ENABLED) |
| 25 | + zephyr_blobs_verify(MODULE hal_infineon REQUIRED) |
| 26 | +endif() |
| 27 | + |
| 28 | +endif() # CONFIG_BUILD_ONLY_NO_BLOBS |
| 29 | + |
| 30 | +zephyr_library_sources_ifdef(CONFIG_BT_ESP32 hci_esp32.c) |
7 | 31 | zephyr_library_sources_ifdef(CONFIG_BT_H4 h4.c)
|
8 | 32 | zephyr_library_sources_ifdef(CONFIG_BT_H5 h5.c)
|
9 | 33 | zephyr_library_sources_ifdef(CONFIG_BT_HCI_IPC ipc.c)
|
10 | 34 | zephyr_library_sources_ifdef(CONFIG_BT_SPI_ZEPHYR spi.c)
|
11 | 35 | zephyr_library_sources_ifdef(CONFIG_BT_SPI_BLUENRG hci_spi_st.c)
|
12 | 36 | zephyr_library_sources_ifdef(CONFIG_BT_CYW43XX h4_ifx_cyw43xxx.c)
|
13 | 37 | zephyr_library_sources_ifdef(CONFIG_BT_CYW208XX hci_ifx_cyw208xx.c)
|
14 |
| - |
15 | 38 | zephyr_library_sources_ifdef(CONFIG_BT_STM32_IPM ipm_stm32wb.c)
|
16 | 39 | zephyr_library_sources_ifdef(CONFIG_BT_STM32WBA hci_stm32wba.c)
|
17 | 40 | 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)) |
19 |
| - zephyr_blobs_verify(MODULE hal_stm32 REQUIRED) |
20 |
| -endif() |
21 | 41 | zephyr_library_sources_ifdef(CONFIG_BT_USERCHAN userchan.c)
|
22 | 42 | zephyr_library_sources_ifdef(CONFIG_BT_SILABS_EFR32 hci_silabs_efr32.c)
|
23 |
| -if(CONFIG_DT_HAS_SILABS_BT_HCI_EFR32_ENABLED) |
24 |
| - zephyr_blobs_verify(MODULE hal_silabs REQUIRED) |
25 |
| -endif() |
26 | 43 | zephyr_library_sources_ifdef(CONFIG_BT_PSOC6_BLESS hci_ifx_psoc6_bless.c)
|
27 |
| -if(CONFIG_DT_HAS_INFINEON_CAT1_BLESS_HCI_ENABLED) |
28 |
| - zephyr_blobs_verify(MODULE hal_infineon REQUIRED) |
29 |
| -endif() |
30 | 44 | zephyr_library_sources_ifdef(CONFIG_SOC_NRF5340_CPUAPP nrf53_support.c)
|
31 | 45 | zephyr_library_sources_ifdef(CONFIG_BT_AMBIQ_HCI hci_ambiq.c apollox_blue.c)
|
32 | 46 | zephyr_library_sources_ifdef(CONFIG_BT_DA1453X hci_da1453x.c)
|
|
0 commit comments