boot: serial_recovery: Add image hash support
Adds support for outputting the image hash TLV in serial recovery
mode, which is needed to comply with the img_mgmt MCUmgr group
requirements.
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
diff --git a/boot/zephyr/Kconfig.serial_recovery b/boot/zephyr/Kconfig.serial_recovery
index e703d59..d5c0101 100644
--- a/boot/zephyr/Kconfig.serial_recovery
+++ b/boot/zephyr/Kconfig.serial_recovery
@@ -168,4 +168,11 @@
help
timeout in ms for MCUboot to wait to allow for DFU to be invoked.
+config BOOT_SERIAL_IMG_GRP_HASH
+ bool "Image list hash support"
+ default y
+ help
+ If y, image list responses will include the image hash (adds ~100
+ bytes of flash).
+
endif # MCUBOOT_SERIAL