Bluetooth: Controller: Fix regression using speed optimization
Fix regression using speed optimization introduced in
commit 1b7fe792e0
("Bluetooth: Controller: Support Link
Time Optimizations (LTO)").
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
b9a7a64563
commit
642d4be940
1 changed files with 11 additions and 1 deletions
|
@ -607,7 +607,7 @@ config BT_CTLR_DYNAMIC_INTERRUPTS
|
||||||
permit use of SoC's peripheral for custom use when Bluetooth is not
|
permit use of SoC's peripheral for custom use when Bluetooth is not
|
||||||
enabled.
|
enabled.
|
||||||
|
|
||||||
choice
|
choice BT_CTLR_OPTIMIZE
|
||||||
prompt "Optimization options"
|
prompt "Optimization options"
|
||||||
depends on !LTO
|
depends on !LTO
|
||||||
default BT_CTLR_OPTIMIZE_FOR_SPEED
|
default BT_CTLR_OPTIMIZE_FOR_SPEED
|
||||||
|
@ -1256,6 +1256,16 @@ config BT_CTLR_USER_CPR_ANCHOR_POINT_MOVE
|
||||||
|
|
||||||
endmenu
|
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"
|
source "subsys/bluetooth/controller/coex/Kconfig"
|
||||||
|
|
||||||
comment "BLE Controller debug configuration"
|
comment "BLE Controller debug configuration"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue