SWAPING IMAGE

Hello,
it's a bit urgent, I want it as soon as possible.
I made a child image for the MCU boot.
my problem is, while compiling code it says the undefined reference to "mcuboot_swap_type()".
can anyone tell me what I am doing wrong?
all the files are given below.









Related