Skip to content

Commit

Permalink
[nrfconnect] Build all clusters app for nRF7002 with LTO
Browse files Browse the repository at this point in the history
The flash usage on this app/platform is close to the limit.
Enable LTO to prevent from blocking the incoming PRs.

Signed-off-by: Damian Krolik <[email protected]>
  • Loading branch information
Damian-Nordic committed Jul 30, 2024
1 parent 28dcbab commit 653f21a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/all-clusters-app/nrfconnect/prj_release.conf
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,7 @@ CONFIG_CHIP_FACTORY_DATA_BUILD=y

# Enable the Read Client for binding purposes
CONFIG_CHIP_ENABLE_READ_CLIENT=y

# Enable LTO to reduce the flash usage
CONFIG_LTO=y
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y

0 comments on commit 653f21a

Please sign in to comment.