Skip to content

Commit f3d9808

Browse files
cvinayaknashif
authored andcommitted
Bluetooth: Controller: Warn when building experimental features
Add CMake warning message when building experimental features like Advertising Extensions. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 294e2df commit f3d9808

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

subsys/bluetooth/controller/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ zephyr_library_sources_ifdef(
1919
)
2020

2121
if(CONFIG_BT_LL_SW_SPLIT)
22+
if(CONFIG_BT_CTLR_ADVANCED_FEATURES)
23+
message(WARNING "\nCONFIG_BT_CTLR_ADVANCED_FEATURES=y, Advanced Features' "
24+
"default value change could change Zephyr Bluetooth "
25+
"Controller's functional behavior.")
26+
endif()
27+
if(CONFIG_BT_CTLR_ADV_EXT)
28+
message(WARNING "\nCONFIG_BT_CTLR_ADV_EXT=y, Advertising Extensions "
29+
"Feature in Zephyr Bluetooth Controller is EXPERIMENTAL.")
30+
endif()
2231
zephyr_library_sources(
2332
ll_sw/ll_feat.c
2433
ll_sw/ull.c

0 commit comments

Comments
 (0)