Skip to content

Commit 653f21a

Browse files
committed
[nrfconnect] Build all clusters app for nRF7002 with LTO
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 <damian.krolik@nordicsemi.no>
1 parent 28dcbab commit 653f21a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/all-clusters-app/nrfconnect/prj_release.conf

+4
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,7 @@ CONFIG_CHIP_FACTORY_DATA_BUILD=y
6262

6363
# Enable the Read Client for binding purposes
6464
CONFIG_CHIP_ENABLE_READ_CLIENT=y
65+
66+
# Enable LTO to reduce the flash usage
67+
CONFIG_LTO=y
68+
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y

0 commit comments

Comments
 (0)