Build mcuboot with CONFIG_SINGLE_APPLICATION_SLOT=y is failed

Hello !

I use latest NCS v2.2.0 and try to occupy by application core as much as possible,

I can see at list 2 image slots are reserved and with serial recovery from host side it looks as wasted space,

I have defined in mcuboot.conf

CONFIG_SINGLE_APPLICATION_SLOT=y

But compilation failed.

Error: Invalid value for '-S' / '--slot-size': /home/yevgen/nsctest/multicore_dfu_ext/build/zephyr/net_core_app_to_sign.bin is not a valid integer. Please use code literals prefixed with 0b/0B, 0o/0O, or 0x/0X as necessary.
[196/211] Generating ../../zephyr/net_core_app_signed.hex
FAILED: zephyr/net_core_app_signed.hex

Error: Invalid value for '-S' / '--slot-size': /home/user/nsctest/multicore_dfu_ext/build/cpunet/zephyr/signed_by_b0_app.hex is not a valid integer. Please use code literals prefixed with 0b/0B, 0o/0O, or 0x/0X as necessary.
[197/211] Linking C executable zephyr/zephyr.elf

/home/user/ncs/v2.2.0/bootloader/mcuboot/boot/zephyr/single_loader.c:76:18: warning: implicit declaration of function 'boot_image_validate'; did you mean 'boot_image_validate_once'? [-Wimplicit-function-declaration]
76 | FIH_CALL(boot_image_validate, fih_rc, fa_p, hdr);
| ^~~~~~~~~~~~~~~~~~~
/home/user/ncs/v2.2.0/bootloader/mcuboot/boot/bootutil/include/bootutil/fault_injection_hardening.h:331:19: note: in definition of macro 'FIH_CALL'

331 | ret = f(__VA_ARGS__); \

Is this real error ?

Do you have some patch for fix it ?

Regards,

Eugene

Related