Skip to content

Commit ca25b7d

Browse files
krish2718karun2796
authored andcommitted
samples: net: aws_iot: Fix Flash overflow
Enable LTO to fix flash overflow. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent fb9e2a1 commit ca25b7d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

samples/net/aws_iot/boards/nrf7002dk_nrf5340_cpuapp_ns.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,7 @@ CONFIG_TLS_CREDENTIALS_BACKEND_PROTECTED_STORAGE=y
109109
CONFIG_TFM_PROFILE_TYPE_SMALL=y
110110
CONFIG_PM_PARTITION_SIZE_TFM_SRAM=0xc000
111111
CONFIG_PM_PARTITION_SIZE_TFM=0x1fe00
112+
113+
# Enable LTO to save flash memory
114+
CONFIG_LTO=y
115+
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y

0 commit comments

Comments
 (0)