Commit 91ff644
committed
boot: zephyr: nrf7120: derive image sectors automatically and enable LTO
nRF7120 builds without Partition Manager, where BOOT_MAX_IMG_SECTORS_AUTO
is enabled by default and derives the sector count from the DTS slot size
and the MRAM erase-block.
Enable link-time optimization (CONFIG_LTO and
CONFIG_ISR_TABLES_LOCAL_DECLARATION) to reduce the MCUboot footprint.
Signed-off-by: Erdem Simsek <erdem.simsek@nordicsemi.no>1 parent f263a70 commit 91ff644
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments