Skip to content

Commit

Permalink
boards: remove HCI_SPI defaults
Browse files Browse the repository at this point in the history
The `HCI_SPI` symbol is now automatically selected from devicetree,
removing the need for board specific defaults.

Signed-off-by: Jordan Yates <[email protected]>
  • Loading branch information
JordanYates authored and henrikbrixandersen committed Oct 25, 2024
1 parent 573c18f commit e876c5d
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 70 deletions.
10 changes: 0 additions & 10 deletions boards/96boards/carbon/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@ config SPI_STM32_INTERRUPT
default y
depends on SPI

if BT

config SPI
default y

config BT_SPI
default y

endif # BT

endif # BOARD_96B_CARBON_STM32F401XE

if BOARD_96B_CARBON_NRF51822
Expand Down
6 changes: 0 additions & 6 deletions boards/shields/x_nucleo_bnrg2a1/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ if SHIELD_X_NUCLEO_BNRG2A1

if BT

config SPI
default y

config BT_SPI
default y

config BT_BLUENRG_ACI
default y

Expand Down
6 changes: 0 additions & 6 deletions boards/shields/x_nucleo_idb05a1/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ if SHIELD_X_NUCLEO_IDB05A1

if BT

config SPI
default y

config BT_SPI
default y

config BT_BLUENRG_ACI
default y
# Disable Flow control
Expand Down
12 changes: 0 additions & 12 deletions boards/shields/x_nucleo_wb05kn1/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,10 @@ if SHIELD_X_NUCLEO_WB05KN1_UART || SHIELD_X_NUCLEO_WB05KN1_SPI

if BT

config SPI
default y
depends on SHIELD_X_NUCLEO_WB05KN1_SPI

config SPI_STM32_INTERRUPT
default y
depends on SPI

config BT_SPI
default y
depends on DT_HAS_ST_HCI_SPI_V2_ENABLED

config BT_H4
default y
depends on DT_HAS_ZEPHYR_BT_HCI_UART_ENABLED

config BT_BLUENRG_ACI
default y

Expand Down
6 changes: 0 additions & 6 deletions boards/st/b_l4s5i_iot01a/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ endchoice

if BT

config SPI
default y

config BT_SPI
default y

config BT_BLUENRG_ACI
default y
# Disable Flow control
Expand Down
6 changes: 0 additions & 6 deletions boards/st/disco_l475_iot1/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ endchoice

if BT

config SPI
default y

config BT_SPI
default y

config BT_BLUENRG_ACI
default y
# Disable Flow control
Expand Down
6 changes: 0 additions & 6 deletions boards/st/sensortile_box/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ if BOARD_SENSORTILE_BOX

if BT

config SPI
default y

config BT_SPI
default y

config BT_BLUENRG_ACI
default y
# Disable Flow control
Expand Down
6 changes: 0 additions & 6 deletions boards/st/sensortile_box_pro/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ if BOARD_SENSORTILE_BOX_PRO

if BT

config SPI
default y

config BT_SPI
default y

config BT_BLUENRG_ACI
default y

Expand Down
6 changes: 0 additions & 6 deletions boards/st/steval_stwinbx1/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ if BOARD_STEVAL_STWINBX1

if BT

config SPI
default y

config BT_SPI
default y

config BT_BLUENRG_ACI
default y

Expand Down
6 changes: 0 additions & 6 deletions boards/st/stm32l562e_dk/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ if BOARD_STM32L562E_DK

if BT

config SPI
default y

config BT_SPI
default y

config BT_BLUENRG_ACI
default y

Expand Down
2 changes: 2 additions & 0 deletions doc/releases/migration-guide-4.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,8 @@ Bluetooth HCI

* The ``bt-hci-bus`` and ``bt-hci-quirks`` devicetree properties for HCI bindings have been changed
to use lower-case strings without the ``BT_HCI_QUIRK_`` and ``BT_HCI_BUS_`` prefixes.
* The Kconfig option :kconfig:option:`BT_SPI` is now automatically selected based on devicetree
compatibles and can be removed from board ``.defconfig`` files.

Bluetooth Mesh
==============
Expand Down

0 comments on commit e876c5d

Please sign in to comment.