Closed sigvartmh closed 3 years ago
@de-nordic @nvlsianpu I'm pretty sure that we don't have the CONFIG symbols available in mynewt but I don't know this code base so well. This is at least my attempt to add some more multi-image support to the mcumgr library we use.
I think I am missing something... why is the change needed?
I think I am missing something... why is the change needed?
So the change is needed to make tooling which uses smp_svr
like BLE DFU work with multi-image.
If you don’t have this you cannot activate images using slot > 2 etc. It also helps you using the newtmgr image list
command to show all the images and what flags are set on them.
I guess the changes to the mcumgr are OK, although I must admin that on the level of mcuboot, my understanding of this is a little bit vague.
The Zephyr Kconfig to enable this: https://github.com/zephyrproject-rtos/zephyr/pull/37903
This may be closed now.
Add multi-image support in img_mgmt for zephyr and general implementations. By setting the
CONFIG_UPDATEABLE_IMAGE_NUMBER
it will iterate over more images and use_multi
implementations in zephyr.Signed-off-by: Sigvart Hovland sigvart.hovland@nordicsemi.no