@@ -48,15 +48,46 @@ config BT_HCI_IPC
48
48
using the IPC subsystem.
49
49
50
50
config BT_SPI
51
- bool "SPI HCI"
51
+ bool
52
52
select SPI
53
53
help
54
54
Supports Bluetooth ICs using SPI as the communication protocol.
55
55
HCI packets are sent and received as single Byte transfers,
56
- prepended after a known header. Headers may vary per device, so
56
+ prepended after a known header. Headers may vary per device, so
57
57
additional platform specific knowledge may need to be added as
58
58
devices are.
59
59
60
+ config BT_SPI_INIT_PRIORITY
61
+ int "BT SPI init priority"
62
+ depends on BT_SPI
63
+ default 75
64
+
65
+ config BT_SPI_ZEPHYR
66
+ bool
67
+ default y
68
+ depends on DT_HAS_ZEPHYR_BT_HCI_SPI_ENABLED
69
+ select BT_SPI
70
+ help
71
+ Bluetooth HCI over SPI driver for communication with Bluetooth
72
+ controllers running Zephyr.
73
+
74
+ config BT_SPI_BLUENRG
75
+ bool
76
+ default y
77
+ depends on DT_HAS_ST_HCI_SPI_V1_ENABLED || DT_HAS_ST_HCI_SPI_V2_ENABLED
78
+ select BT_SPI
79
+ help
80
+ Bluetooth HCI over SPI driver for communication with
81
+ STMicroelectronics BlueNRG devices.
82
+
83
+ config BT_BLUENRG_ACI
84
+ bool "ACI message with BlueNRG-based devices"
85
+ depends on BT_SPI_BLUENRG
86
+ select BT_HCI_SET_PUBLIC_ADDR
87
+ help
88
+ Enable support for devices compatible with the BlueNRG Bluetooth
89
+ Stack. Current driver supports: ST BLUENRG-MS.
90
+
60
91
config BT_STM32_IPM
61
92
bool
62
93
default y
@@ -159,22 +190,6 @@ config BT_AMBIQ_HCI
159
190
Supports Ambiq Bluetooth SoC using SPI as the communication protocol.
160
191
HCI packets are sent and received as single Byte transfers.
161
192
162
-
163
- if BT_SPI
164
-
165
- config BT_SPI_INIT_PRIORITY
166
- int "BT SPI init priority"
167
- default 75
168
-
169
- config BT_BLUENRG_ACI
170
- bool "ACI message with BlueNRG-based devices"
171
- select BT_HCI_SET_PUBLIC_ADDR
172
- help
173
- Enable support for devices compatible with the BlueNRG Bluetooth
174
- Stack. Current driver supports: ST BLUENRG-MS.
175
-
176
- endif # BT_SPI
177
-
178
193
config BT_HCI_INIT_PRIORITY
179
194
int "BT HCI init priority"
180
195
default 75 if BT_AMBIQ_HCI
0 commit comments