Skip to content

Commit

Permalink
Bluetooth: Controller: Fix regression using speed optimization
Browse files Browse the repository at this point in the history
Fix regression using speed optimization introduced in
commit 1b7fe79 ("Bluetooth: Controller: Support Link
Time Optimizations (LTO)").

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
  • Loading branch information
cvinayak committed Jun 29, 2024
1 parent 00efb01 commit b237359
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion subsys/bluetooth/controller/Kconfig.ll_sw_split
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ config BT_CTLR_DYNAMIC_INTERRUPTS
permit use of SoC's peripheral for custom use when Bluetooth is not
enabled.

choice
choice BT_CTLR_OPTIMIZE
prompt "Optimization options"
depends on !LTO
default BT_CTLR_OPTIMIZE_FOR_SPEED
Expand Down Expand Up @@ -1293,6 +1293,16 @@ config BT_CTLR_USER_CPR_ANCHOR_POINT_MOVE

endmenu

# Workaround to be able to have default for "choice" in hidden "menu" above
choice BT_CTLR_OPTIMIZE
prompt "Optimization options"
depends on !LTO

config BT_CTLR_OPTIMIZE_FOR_SPEED
bool "Optimize for Speed"

endchoice

source "subsys/bluetooth/controller/coex/Kconfig"

comment "BLE Controller debug configuration"
Expand Down

0 comments on commit b237359

Please sign in to comment.