Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions boards/sifli/sf32lb52_devkit_lcd/sf32lb52_devkit_lcd.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
zephyr,code-partition = &code;
zephyr,console = &usart1;
zephyr,shell-uart = &usart1;
zephyr,bt-hci = &mailbox;
};

buttons {
Expand Down Expand Up @@ -119,3 +120,8 @@
pinctrl-0 = <&usart1_default>;
pinctrl-names = "default";
};

&mailbox {
status = "okay";
};

1 change: 1 addition & 0 deletions drivers/bluetooth/hci/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ zephyr_library_sources_ifdef(CONFIG_BT_DA1453X hci_da1453x.c)
zephyr_library_sources_ifdef(CONFIG_BT_DA1469X hci_da1469x.c)
zephyr_library_sources_ifdef(CONFIG_BT_NXP hci_nxp.c)
zephyr_library_sources_ifdef(CONFIG_BT_H4_NXP_CTLR hci_nxp_setup.c)
zephyr_library_sources_ifdef(CONFIG_BT_SF32LB hci_sf32lb.c)

if(CONFIG_BT_USERCHAN)
zephyr_library_sources(userchan.c)
Expand Down
9 changes: 9 additions & 0 deletions drivers/bluetooth/hci/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ config BT_DRV_RX_STACK_SIZE
default BT_RX_STACK_SIZE if (BT_H4 || BT_HCI_RAW_H4)
default BT_STM32_IPM_RX_STACK_SIZE if BT_STM32_IPM
default HCI_NXP_RX_STACK_SIZE if HCI_NXP_RX_THREAD
default 1024 if BT_SF32LB
default 512
help
Stack size for the HCI driver's RX thread.
Expand Down Expand Up @@ -402,3 +403,11 @@ config BT_H4_NXP_CTLR_WAIT_TIME_AFTER_BAUDRATE_UPDATE
Waiting time after controller baudrate is updated. Unit is millisecond.

endif #BT_H4_NXP_CTLR

config BT_SF32LB
bool "SiFli Bluetooth Controller"
default y
depends on DT_HAS_SIFLI_SF32LB_MAILBOX_ENABLED
select USE_SIFLI_IPC_QUEUE
help
Bluetooth HCI over ipc mailbox in SiFli SF32LB chipsets.
Loading