Hi,
I'm trying to CONFIG_MCUBOOT_ACTION_HOOKS with mcuboot on a custom board build with an nRF9151. McuBoot works well, but I'd like to use CONFIG_MCUBOOT_ACTION_HOOKS to inform user for example with an led, process is running.
here is what I've tried without success:
in mcuboot.conf add CONFIG_MCUBOOT_ACTION_HOOKS=y
in child_image/mcuboot folder I've added mcuboot_hook.c
and in my Cmakelists.txt in my porject I added
if(CONFIG_MCUBOOT)
zephyr_library()
zephyr_library_sources(mcuboot_hook.c)
endif()
But I always add an error during build with /opt/nordic/ncs/v2.5.0/bootloader/mcuboot/boot/bootutil/src/loader.c:2368: undefined reference to `mcuboot_status_change'
It's look like I've missed something somewhere...
Thanks