Skip to content

Commit d53d2b2

Browse files
Vge0rgecvinayak
authored andcommitted
samples: wifi: Enable LTO for WIFI sample
Enable LTO for the WIFI shell sample to fix flash overlfow issue. LTO is experimental but the same goes for using legacy crypto and PSA crypto at the same time and this sample does that as well. Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
1 parent 3ebf609 commit d53d2b2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

samples/wifi/shell/overlay-openthread.conf

+5
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,8 @@ CONFIG_LOG_MAX_LEVEL=1
3131

3232
# Consumes more memory
3333
CONFIG_WIFI_CREDENTIALS=n
34+
35+
# LTO is used here to fix overflowing the flash
36+
# in this configuration
37+
CONFIG_LTO=y
38+
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y

0 commit comments

Comments
 (0)