Skip to content

Commit

Permalink
applications: nrf_desktop: Fix Kconfig warning for SW Split LL
Browse files Browse the repository at this point in the history
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 <Marek.Pieta@nordicsemi.no>
  • Loading branch information
MarekPieta authored and kapi-no committed Feb 20, 2025
1 parent 3e3b689 commit d41acf4
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@ CONFIG_BT_MAX_PAIRED=2
CONFIG_BT_ID_MAX=3
CONFIG_BT_LL_SW_SPLIT=y

# Optimize Bluetooth controller for size to reduce memory consumption
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
CONFIG_BT_CTLR_OPTIMIZE_FOR_SIZE=y

CONFIG_BT_ATT_TX_COUNT=4
CONFIG_BT_CONN_TX_MAX=4
# Reduce memory footprint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,6 @@ CONFIG_BT_MAX_PAIRED=2
CONFIG_BT_ID_MAX=3
CONFIG_BT_LL_SW_SPLIT=y

# Optimize Bluetooth controller for size to reduce memory consumption
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
CONFIG_BT_CTLR_OPTIMIZE_FOR_SIZE=y

CONFIG_BT_ATT_TX_COUNT=4
CONFIG_BT_CONN_TX_MAX=4
# Reduce memory footprint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ CONFIG_USB_NRFX_EVT_QUEUE_SIZE=16
CONFIG_BT_PRIVACY=y
CONFIG_BT_LL_SW_SPLIT=y

# Optimize Bluetooth controller for size to reduce memory consumption
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
CONFIG_BT_CTLR_OPTIMIZE_FOR_SIZE=y

CONFIG_BT_BUF_ACL_TX_SIZE=35
CONFIG_BT_CTLR_DATA_LENGTH_MAX=35
CONFIG_BT_ATT_TX_COUNT=6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ CONFIG_USB_NRFX_EVT_QUEUE_SIZE=30
CONFIG_BT_PRIVACY=y
CONFIG_BT_LL_SW_SPLIT=y

# Optimize Bluetooth controller for size to reduce memory consumption
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
CONFIG_BT_CTLR_OPTIMIZE_FOR_SIZE=y

CONFIG_BT_BUF_ACL_TX_SIZE=35
CONFIG_BT_CTLR_DATA_LENGTH_MAX=35
CONFIG_BT_ATT_TX_COUNT=6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ CONFIG_USB_NRFX_EVT_QUEUE_SIZE=16
CONFIG_BT_PRIVACY=y
CONFIG_BT_LL_SW_SPLIT=y

# Optimize Bluetooth controller for size to reduce memory consumption
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
CONFIG_BT_CTLR_OPTIMIZE_FOR_SIZE=y

CONFIG_BT_BUF_ACL_TX_SIZE=35
CONFIG_BT_CTLR_DATA_LENGTH_MAX=35
CONFIG_BT_ATT_TX_COUNT=6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ CONFIG_USB_NRFX_EVT_QUEUE_SIZE=30
CONFIG_BT_PRIVACY=y
CONFIG_BT_LL_SW_SPLIT=y

# Optimize Bluetooth controller for size to reduce memory consumption
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
CONFIG_BT_CTLR_OPTIMIZE_FOR_SIZE=y

CONFIG_BT_BUF_ACL_TX_SIZE=35
CONFIG_BT_CTLR_DATA_LENGTH_MAX=35
CONFIG_BT_ATT_TX_COUNT=6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ CONFIG_USB_NRFX_EVT_QUEUE_SIZE=16
CONFIG_BT_PRIVACY=y
CONFIG_BT_LL_SW_SPLIT=y

# Optimize Bluetooth controller for size to reduce memory consumption
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
CONFIG_BT_CTLR_OPTIMIZE_FOR_SIZE=y

CONFIG_BT_BUF_ACL_TX_SIZE=35
CONFIG_BT_CTLR_DATA_LENGTH_MAX=35
CONFIG_BT_ATT_TX_COUNT=6
Expand Down

0 comments on commit d41acf4

Please sign in to comment.