Skip to content

Commit 22084ce

Browse files
committed
[nrf fromtree] zephyr: nRF54L05 and L10 configuration with LTO enabled
Enable LTO to cut down the MCUboot size for nrf54l10 and nrf54l05. Signed-off-by: Grzegorz Chwierut <[email protected]> (cherry picked from commit 3c8e571775291dd5da7119b1f24b765bd935a97c)
1 parent a999034 commit 22084ce

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

boot/zephyr/socs/nrf54l05_cpuapp.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ CONFIG_BOOT_WATCHDOG_FEED=n
1111

1212
# Ensure the fastest RRAM write operations
1313
CONFIG_NRF_RRAM_WRITE_BUFFER_SIZE=32
14+
15+
# Link Time Optimizations
16+
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
17+
CONFIG_LTO=y

boot/zephyr/socs/nrf54l10_cpuapp.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ CONFIG_BOOT_WATCHDOG_FEED=n
1111

1212
# Ensure the fastest RRAM write operations
1313
CONFIG_NRF_RRAM_WRITE_BUFFER_SIZE=32
14+
15+
# Link Time Optimizations
16+
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
17+
CONFIG_LTO=y

0 commit comments

Comments
 (0)