File tree Expand file tree Collapse file tree 5 files changed +94
-0
lines changed
samples/boot/mcuboot_recovery_entry Expand file tree Collapse file tree 5 files changed +94
-0
lines changed Original file line number Diff line number Diff line change @@ -15,3 +15,18 @@ tests:
1515 - bm_nrf54l15dk/nrf54l15/cpuapp/s115_softdevice/mcuboot
1616 tags :
1717 - sysbuild
18+ sample.boot.mcuboot_recovery_entry.size_optimized :
19+ sysbuild : true
20+ build_only : true
21+ integration_platforms :
22+ - bm_nrf54l15dk/nrf54l05/cpuapp/s115_softdevice/mcuboot
23+ - bm_nrf54l15dk/nrf54l10/cpuapp/s115_softdevice/mcuboot
24+ - bm_nrf54l15dk/nrf54l15/cpuapp/s115_softdevice/mcuboot
25+ platform_allow :
26+ - bm_nrf54l15dk/nrf54l05/cpuapp/s115_softdevice/mcuboot
27+ - bm_nrf54l15dk/nrf54l10/cpuapp/s115_softdevice/mcuboot
28+ - bm_nrf54l15dk/nrf54l15/cpuapp/s115_softdevice/mcuboot
29+ tags :
30+ - sysbuild
31+ extra_args :
32+ - FILE_SUFFIX=size_opt
Original file line number Diff line number Diff line change 1+ CONFIG_LTO=y
2+ CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
3+ CONFIG_LOG=n
4+ CONFIG_CONSOLE=n
5+ CONFIG_BM_UARTE_CONSOLE=n
6+ CONFIG_CRACEN_LIB_KMU=n
7+ CONFIG_PSA_WANT_ALG_CTR_DRBG=n
8+ CONFIG_PSA_USE_CRACEN_MAC_DRIVER=n
9+ CONFIG_PSA_USE_CRACEN_AEAD_DRIVER=n
10+ CONFIG_PSA_USE_CRACEN_CIPHER_DRIVER=n
Original file line number Diff line number Diff line change 1+ / {
2+ chosen {
3+ zephyr,code-partition = &boot_partition;
4+ };
5+ };
Original file line number Diff line number Diff line change 1+ CONFIG_PM=n
2+
3+ CONFIG_MAIN_STACK_SIZE=10240
4+
5+ CONFIG_BOOT_SWAP_SAVE_ENCTLV=n
6+ CONFIG_BOOT_ENCRYPT_IMAGE=n
7+
8+ CONFIG_BOOT_UPGRADE_ONLY=n
9+ CONFIG_BOOT_BOOTSTRAP=n
10+
11+ ### mbedTLS has its own heap
12+ # CONFIG_HEAP_MEM_POOL_SIZE is not set
13+
14+ CONFIG_FLASH=y
15+
16+ ### Various Zephyr boards enable features that we don't want.
17+ # CONFIG_BT is not set
18+ # CONFIG_I2C is not set
19+
20+ ### Decrease footprint by ~4 KB in comparison to CBPRINTF_COMPLETE=y
21+ CONFIG_CBPRINTF_NANO=y
22+ ### Use picolibc to reduce flash usage
23+ CONFIG_PICOLIBC=y
24+ ### Disable malloc arena because we don't need it
25+ CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=0
26+
27+ # NCS boot banner
28+ CONFIG_NCS_APPLICATION_BOOT_BANNER_STRING="MCUboot"
29+
30+ #CONFIG_LOG=n
31+ #CONFIG_CONSOLE=n
32+ #CONFIG_BM_UARTE_CONSOLE=n
Original file line number Diff line number Diff line change 1+ CONFIG_PM=n
2+
3+ CONFIG_MAIN_STACK_SIZE=10240
4+
5+ CONFIG_BOOT_SWAP_SAVE_ENCTLV=n
6+ CONFIG_BOOT_ENCRYPT_IMAGE=n
7+
8+ CONFIG_BOOT_UPGRADE_ONLY=n
9+ CONFIG_BOOT_BOOTSTRAP=n
10+
11+ ### mbedTLS has its own heap
12+ # CONFIG_HEAP_MEM_POOL_SIZE is not set
13+
14+ CONFIG_FLASH=y
15+
16+ ### Various Zephyr boards enable features that we don't want.
17+ # CONFIG_BT is not set
18+ # CONFIG_I2C is not set
19+
20+ ### Decrease footprint by ~4 KB in comparison to CBPRINTF_COMPLETE=y
21+ CONFIG_CBPRINTF_NANO=y
22+ ### Use picolibc to reduce flash usage
23+ CONFIG_PICOLIBC=y
24+ ### Disable malloc arena because we don't need it
25+ CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=0
26+
27+ # NCS boot banner
28+ CONFIG_NCS_APPLICATION_BOOT_BANNER_STRING="MCUboot"
29+
30+ CONFIG_LOG=n
31+ CONFIG_CONSOLE=n
32+ CONFIG_BM_UARTE_CONSOLE=n
You can’t perform that action at this time.
0 commit comments