Skip to content

Commit 945caf7

Browse files
alexstanoev-nordicrlubos
authored andcommitted
bluetooth: Build hci_vs_sdc if SDC headers are available
When using a remote HCI image, the LL KConfig is not available. Always build the VS command wrappers if the SDC headers are available via BT_LL_SOFTDEVICE_HEADERS_INCLUDE. The remote LL can return unsupported BTLE command if it's not SDC. Signed-off-by: Aleksandar Stanoev <[email protected]>
1 parent 4db7d6a commit 945caf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ zephyr_sources_ifdef(CONFIG_BT_GATT_DM gatt_dm.c)
99
zephyr_sources_ifdef(CONFIG_BT_SCAN scan.c)
1010
zephyr_sources_ifdef(CONFIG_BT_CONN_CTX conn_ctx.c)
1111
zephyr_sources_ifdef(CONFIG_BT_ENOCEAN enocean.c)
12-
zephyr_sources_ifdef(CONFIG_BT_LL_SOFTDEVICE hci_vs_sdc.c)
12+
zephyr_sources_ifdef(CONFIG_BT_LL_SOFTDEVICE_HEADERS_INCLUDE hci_vs_sdc.c)
1313

1414
add_subdirectory_ifdef(CONFIG_BT_ADV_PROV adv_prov)
1515
add_subdirectory_ifdef(CONFIG_BT_LL_SOFTDEVICE controller)

0 commit comments

Comments
 (0)