Skip to content

Commit c7028a9

Browse files
adigieArekBalysNordic
authored andcommitted
samples: matter: thermostat: Enable LTO for nRF7002 DK
Enable LTO for `nrf7002dk/nrf5340/cpuapp` due to increased flash usage. Signed-off-by: Adrian Gielniewski <[email protected]>
1 parent c8ea220 commit c7028a9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# Copyright (c) 2024 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Enable LTO to decrease the flash usage.
8+
CONFIG_LTO=y
9+
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y

0 commit comments

Comments
 (0)