I'm trying to get multi image to work. I'm using the nRF SDK 2.3.0 with Zephyr. I tried following the instructions here:
but it is unclear to me how and where to change partition table. I tried different combinations with the partition names and labels, but no luck.
So my goal is now to get one of the sample applications to use multi image first, then I can see what I have to do in my application. I tried "nrf/applications/machine_learning", because it says multi image is already working for it. But when trying to compile with "west build -b nrf5340dk_nrf5340_cpuapp", I get this error:
...bootloader/mcuboot/boot/zephyr/boot_serial_extensions.c:9:10: fatal error: zephyr/mgmt/mcu
mgr/zephyr_groups.h: No such file or directory
9 | #include <zephyr/mgmt/mcumgr/zephyr_groups.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
But it is a pretty big application anyway, so I tried the nrf/samples/bluetooth/peripheral_lbs example, which is also mentioned. Out of the box, it doesn't create a zip file for multi image update. I tried to add the following in prj.conf: