silabs: drivers: bluetooth: Move configurations to Kconfig
Several driver setting were as defines in driver file which made hard to change by application programmers. Fixed by adding silicon labs specific Kconfig file for bluetooth driver configurations. Also some cleaning for handling Kconfig conditional to conform preferred style. Signed-off-by: Petri Pitkanen <petri.pitkanen@silabs.com>
This commit is contained in:
parent
c235e1cadd
commit
5748738c60
3 changed files with 73 additions and 29 deletions
|
@ -116,7 +116,7 @@ config BT_STM32WB0
|
|||
ST STM32WB0 HCI Bluetooth interface
|
||||
|
||||
config BT_SILABS_EFR32
|
||||
bool
|
||||
bool "Silabs EFR32 HCI driver"
|
||||
default y
|
||||
depends on DT_HAS_SILABS_BT_HCI_EFR32_ENABLED
|
||||
depends on ZEPHYR_HAL_SILABS_MODULE_BLOBS || BUILD_ONLY_NO_BLOBS
|
||||
|
@ -136,6 +136,7 @@ config BT_SILABS_EFR32
|
|||
help
|
||||
Use Silicon Labs binary Bluetooth library to connect to the
|
||||
controller.
|
||||
source "drivers/bluetooth/hci/Kconfig.silabs"
|
||||
|
||||
config BT_USERCHAN
|
||||
bool
|
||||
|
@ -297,14 +298,6 @@ config BT_DRV_RX_STACK_SIZE
|
|||
help
|
||||
Stack size for the HCI driver's RX thread.
|
||||
|
||||
config BT_SILABS_EFR32_BUFFER_MEMORY
|
||||
int "Silicon Labs Bluetooth Library memory buffer size"
|
||||
depends on BT_SILABS_EFR32
|
||||
default 6144
|
||||
help
|
||||
Select the size of allocated memory buffer for the Silicon Labs
|
||||
Bluetooth Library.
|
||||
|
||||
config BT_H4_NXP_CTLR
|
||||
bool "NXP Bluetooth Controller"
|
||||
select GPIO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue