boot: boot_serial: Fix issue with CBOR and setting image state
Fixes an issue whereby when canonical mode for ZCBOR was enabled, the state variables were not increased to handle the backup states, and a bug whereby only secondary slots were checked for status when setting image state, whilst generally this is the intended outcome, a user should also be able to mark a primary image as confirmed too for other modes such as direct-xip Note: This PR has been modified from the upstream commit due to a merge failure from other changes that are not being brought into Zephyr 3.7 Signed-off-by:Jamie McCrae <jamie.mccrae@nordicsemi.no> (cherry picked from commit bc18d7da)
Loading
Please sign in to comment