Bluetooth: controller: nRF51x: Force optimize for speed

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 <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2020-03-05 17:17:10 +05:30 committed by Johan Hedberg
commit 66d1be6728

View file

@ -577,7 +577,8 @@ config BT_CTLR_ZLI
else will impact controller stability. else will impact controller stability.
config BT_CTLR_OPTIMIZE_FOR_SPEED 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 default y if BT_CTLR_LE_ENC
help help
Optimize compilation of controller for execution speed. Optimize compilation of controller for execution speed.