You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MCUBOOT_UPDATE_FOOTER_SIZE depends on MCUBOOT_IMG_MANAGER on Zephyr side,
but Sysbuild tries to set it always on MCUboot side which results in the
following annoying warning when building with IMG_MANAGER=n:
"warning: MCUBOOT_UPDATE_FOOTER_SIZE (defined at subsys/dfu/Kconfig:55)
was assigned the value '0x30' but got the value ''. Check these
unsatisfied dependencies: MCUBOOT_IMG_MANAGER (=n), IMG_MANAGER (=n)"
Since we cannot condition MCUBOOT_UPDATE_FOOTER_SIZE's use by Sysbuild
on MCUboot side, because "it sets the config of the application before
the application is configured...we cannot read any application
configuration" at that moment (see [1] for the full quote), remove
MCUBOOT_UPDATE_FOOTER_SIZE's dependence on MCUBOOT_IMG_MANAGER and make
it depend on BOOTLOADER_MCUBOOT only.
The symbol help text still says that it is only useful when
MCUBOOT_IMG_MANAGER and MCUMGR_GRP_IMG_TOO_LARGE_SYSBUILD are set.
[1] mcu-tools/mcuboot#2504 (comment)
Signed-off-by: Abderrahmane JARMOUNI <[email protected]>
0 commit comments