zephyr/subsys/mgmt
Dominik Ermel 5739f2c6da mgmt/MCUmgr/grp/img: Switch to using img_mgmt_get_next_boot_slot
The commit modifies image list command operations to use
img_mgmt_get_next_boot_slot instead of directly relying of
MCUboot flags.
The function is now used, also, by img_mgmt_slot_in_use to
figure out whether queried slot is in use.
The commit introduces two new Kconfig options
 MCUMGR_GRP_IMG_ALLOW_CONFIRM_NON_ACTIVE_IMAGE_SECONDARY
 MCUMGR_GRP_IMG_ALLOW_CONFIRM_NON_ACTIVE_IMAGE_ANY
that allow users to enable confirming non-active images slots.
The MCUMGR_GRP_IMG_ALLOW_CONFIRM_NON_ACTIVE_IMAGE_SECONDARY is y
by default to keep original behavior of logic that accidentally
allowed confirming secondary slot.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2023-08-31 10:19:15 +02:00
..
ec_host_cmd mgmt: ec_host_cmd: simulator: s/device.h/init.h 2023-08-29 11:54:19 +01:00
hawkbit mgmt: hawkbit: remove NET_SOCKETS_POSIX_NAMES dependency 2023-06-28 06:32:45 +00:00
mcumgr mgmt/MCUmgr/grp/img: Switch to using img_mgmt_get_next_boot_slot 2023-08-31 10:19:15 +02:00
osdp init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
updatehub mgmt: syscalls: use zephyr_syscall_header 2023-06-17 07:57:45 -04:00
CMakeLists.txt ec_host_cmd: add ec host command handler framework 2020-09-04 14:50:45 -04:00
Kconfig ec_host_cmd: add ec host command handler framework 2020-09-04 14:50:45 -04:00