Skip to content

Commit 1659b22

Browse files
adigienordicjm
authored andcommitted
[nrf toup][nrfconnect] Enable LTO for all-clusters-app on nRF52840 dongle
Enablue LTO for dongle due to flash overflow. Signed-off-by: Adrian Gielniewski <[email protected]>
1 parent e14390f commit 1659b22

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/all-clusters-app/nrfconnect/boards/nrf52840dongle_nrf52840.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ CONFIG_ASSERT_VERBOSE=n
3535
CONFIG_SHELL=n
3636
CONFIG_OPENTHREAD_SHELL=n
3737
CONFIG_MATTER_LOG_LEVEL_INF=y
38+
39+
# Enable LTO to reduce the flash usage
40+
CONFIG_LTO=y
41+
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y

0 commit comments

Comments
 (0)