Skip to content

Commit

Permalink
Bluetooth: controller: nRF51x: Force optimize for speed
Browse files Browse the repository at this point in the history
Make BT_CTLR_OPTIMIZE_FOR_SPEED option so that it is not
user selectable for nRF51x series SoC with encrypted
connections support.

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
  • Loading branch information
cvinayak authored and jhedberg committed Mar 10, 2020
1 parent 13b10b5 commit 66d1be6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion subsys/bluetooth/controller/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,8 @@ config BT_CTLR_ZLI
else will impact controller stability.

config BT_CTLR_OPTIMIZE_FOR_SPEED
bool "Optimize for Speed"
prompt "Optimize for Speed" if !(SOC_SERIES_NRF51X && BT_CTLR_LE_ENC)
bool
default y if BT_CTLR_LE_ENC
help
Optimize compilation of controller for execution speed.
Expand Down

0 comments on commit 66d1be6

Please sign in to comment.