mcuboot icon indicating copy to clipboard operation
mcuboot copied to clipboard

bootutil: Unify app_max_size() implementations

Open tomchy opened this issue 6 months ago • 0 comments

Remove redundant application size calculations in favour of a common function, implemented inside bootutil_misc.c. In this way, slot sizes use the same restrictions as image validation.

This change is a follow-up PR to the discussion in the https://github.com/mcu-tools/mcuboot/pull/2283?notification_referrer_id=NT_kwDOAJAHw7MxNjA5NjY2MjgwNjo5NDM5MTcx#issuecomment-2863676366.

tomchy avatar May 23 '25 12:05 tomchy