boot_serial: Add optional processing of PERUSER group
The commit adds optional processing of MGMT_GROUP_ID_PERUSER,
as defined by mcumgr library, and above; the processing requires
systems to provide own functions as these groups are system
specific.
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
diff --git a/boot/zephyr/Kconfig b/boot/zephyr/Kconfig
index dde97dd..8ef5345 100644
--- a/boot/zephyr/Kconfig
+++ b/boot/zephyr/Kconfig
@@ -552,6 +552,16 @@
This option specifies the name of UART device to be used for
serial recovery.
+config ENABLE_MGMT_PERUSER
+ bool "Enables system specific mcumgr commands"
+ depends on BOOT_SERIAL_UART
+ help
+ The option enables processing of system specific mcumgr commands;
+ system specific commands are within group MGMT_GROUP_ID_PERUSER (64)
+ and above, as defined within mcumgr library.
+ These are system specific command and system specific implementation
+ function is required to process these commands.
+
endif # MCUBOOT_SERIAL
config BOOT_INTR_VEC_RELOC