Skip to content

Commit d41acf4

Browse files
MarekPietakapi-no
authored andcommitted
applications: nrf_desktop: Fix Kconfig warning for SW Split LL
The CONFIG_BT_CTLR_OPTIMIZE_FOR_SIZE option cannot be used together with LTO. Remove assignment from configuration to prevent Kconfig build warnings. Jira: NCSDK-31777 Signed-off-by: Marek Pieta <[email protected]>
1 parent 3e3b689 commit d41acf4

File tree

7 files changed

+0
-28
lines changed

7 files changed

+0
-28
lines changed

applications/nrf_desktop/configuration/nrf52810dmouse_nrf52810/prj.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,6 @@ CONFIG_BT_MAX_PAIRED=2
103103
CONFIG_BT_ID_MAX=3
104104
CONFIG_BT_LL_SW_SPLIT=y
105105

106-
# Optimize Bluetooth controller for size to reduce memory consumption
107-
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
108-
CONFIG_BT_CTLR_OPTIMIZE_FOR_SIZE=y
109-
110106
CONFIG_BT_ATT_TX_COUNT=4
111107
CONFIG_BT_CONN_TX_MAX=4
112108
# Reduce memory footprint

applications/nrf_desktop/configuration/nrf52810dmouse_nrf52810/prj_release.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,6 @@ CONFIG_BT_MAX_PAIRED=2
9898
CONFIG_BT_ID_MAX=3
9999
CONFIG_BT_LL_SW_SPLIT=y
100100

101-
# Optimize Bluetooth controller for size to reduce memory consumption
102-
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
103-
CONFIG_BT_CTLR_OPTIMIZE_FOR_SIZE=y
104-
105101
CONFIG_BT_ATT_TX_COUNT=4
106102
CONFIG_BT_CONN_TX_MAX=4
107103
# Reduce memory footprint

applications/nrf_desktop/configuration/nrf52820dongle_nrf52820/prj.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ CONFIG_USB_NRFX_EVT_QUEUE_SIZE=16
7575
CONFIG_BT_PRIVACY=y
7676
CONFIG_BT_LL_SW_SPLIT=y
7777

78-
# Optimize Bluetooth controller for size to reduce memory consumption
79-
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
80-
CONFIG_BT_CTLR_OPTIMIZE_FOR_SIZE=y
81-
8278
CONFIG_BT_BUF_ACL_TX_SIZE=35
8379
CONFIG_BT_CTLR_DATA_LENGTH_MAX=35
8480
CONFIG_BT_ATT_TX_COUNT=6

applications/nrf_desktop/configuration/nrf52820dongle_nrf52820/prj_release.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,6 @@ CONFIG_USB_NRFX_EVT_QUEUE_SIZE=30
7474
CONFIG_BT_PRIVACY=y
7575
CONFIG_BT_LL_SW_SPLIT=y
7676

77-
# Optimize Bluetooth controller for size to reduce memory consumption
78-
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
79-
CONFIG_BT_CTLR_OPTIMIZE_FOR_SIZE=y
80-
8177
CONFIG_BT_BUF_ACL_TX_SIZE=35
8278
CONFIG_BT_CTLR_DATA_LENGTH_MAX=35
8379
CONFIG_BT_ATT_TX_COUNT=6

applications/nrf_desktop/configuration/nrf52833dk_nrf52820/prj.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,6 @@ CONFIG_USB_NRFX_EVT_QUEUE_SIZE=16
7676
CONFIG_BT_PRIVACY=y
7777
CONFIG_BT_LL_SW_SPLIT=y
7878

79-
# Optimize Bluetooth controller for size to reduce memory consumption
80-
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
81-
CONFIG_BT_CTLR_OPTIMIZE_FOR_SIZE=y
82-
8379
CONFIG_BT_BUF_ACL_TX_SIZE=35
8480
CONFIG_BT_CTLR_DATA_LENGTH_MAX=35
8581
CONFIG_BT_ATT_TX_COUNT=6

applications/nrf_desktop/configuration/nrf52833dk_nrf52820/prj_release.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ CONFIG_USB_NRFX_EVT_QUEUE_SIZE=30
7575
CONFIG_BT_PRIVACY=y
7676
CONFIG_BT_LL_SW_SPLIT=y
7777

78-
# Optimize Bluetooth controller for size to reduce memory consumption
79-
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
80-
CONFIG_BT_CTLR_OPTIMIZE_FOR_SIZE=y
81-
8278
CONFIG_BT_BUF_ACL_TX_SIZE=35
8379
CONFIG_BT_CTLR_DATA_LENGTH_MAX=35
8480
CONFIG_BT_ATT_TX_COUNT=6

applications/nrf_desktop/configuration/nrf52833dk_nrf52833/prj_dongle_small.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,6 @@ CONFIG_USB_NRFX_EVT_QUEUE_SIZE=16
8181
CONFIG_BT_PRIVACY=y
8282
CONFIG_BT_LL_SW_SPLIT=y
8383

84-
# Optimize Bluetooth controller for size to reduce memory consumption
85-
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
86-
CONFIG_BT_CTLR_OPTIMIZE_FOR_SIZE=y
87-
8884
CONFIG_BT_BUF_ACL_TX_SIZE=35
8985
CONFIG_BT_CTLR_DATA_LENGTH_MAX=35
9086
CONFIG_BT_ATT_TX_COUNT=6

0 commit comments

Comments
 (0)