Skip to content

Commit fbb6b20

Browse files
committed
modules: hal_silabs: Set multiprotocol define expected by bt stack
Set `SL_RAIL_LIB_MULTIPROTOCOL_SUPPORT` to `1` when Rail Multiprotocol Kconfig is enabled. This is required to run the Bluetooth multiprotocol initialization code during `sl_btctrl_init`. Signed-off-by: James Smith <[email protected]>
1 parent 26ed65f commit fbb6b20

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules/hal_silabs/simplicity_sdk/config/ll/sl_btctrl_config.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@
123123
#define SL_BLUETOOTH_NO_VS_HCI_COMMANDS
124124
#endif
125125

126+
#ifdef CONFIG_SILABS_SISDK_RAIL_MULTIPROTOCOL
127+
#define SL_RAIL_LIB_MULTIPROTOCOL_SUPPORT 1
128+
#endif
129+
126130
#define SL_CATALOG_BLUETOOTH_RCP_PRESENT
127131

128132
/* The following features are not currently supported with Zephyr */
@@ -138,7 +142,6 @@
138142
#undef SL_CATALOG_BLUETOOTH_FEATURE_USER_POWER_CONTROL_PRESENT
139143
#undef SL_CATALOG_KERNEL_PRESENT /* Only relevant in the SiSDK RTOS adaptation */
140144
#undef SL_CATALOG_RAIL_UTIL_COEX_PRESENT
141-
#undef SL_RAIL_LIB_MULTIPROTOCOL_SUPPORT
142145

143146
/* Maps the controller configuration options from Kconfig to Silabs defines */
144147
#define SL_BT_CONTROLLER_BUFFER_MEMORY CONFIG_BT_SILABS_EFR32_BUFFER_MEMORY

0 commit comments

Comments
 (0)