Skip to content

Commit d80a817

Browse files
MarekPietapdunaj
authored andcommitted
applications: nrf_desktop: Enable LTO
Change enables the Link Time Optimization (LTO) by default for nRF Desktop application image to limit memory usage and improve performance. Jira: NCSDK-26866 Signed-off-by: Marek Pieta <[email protected]>
1 parent 108cf12 commit d80a817

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

applications/nrf_desktop/Kconfig.defaults

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,13 @@ choice LIBC_IMPLEMENTATION
2121
help
2222
Use minimal libc implementation to reduce memory footprint.
2323
endchoice
24+
25+
config LTO
26+
default y
27+
help
28+
nRF Desktop enables LTO to limit memory usage and improve performance.
29+
30+
config ISR_TABLES_LOCAL_DECLARATION
31+
default y
32+
help
33+
nRF Desktop enables LTO to limit memory usage and improve performance.

0 commit comments

Comments
 (0)