From c19e8c9a23387478bf815e10bdf3fdb0180d1383 Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Mon, 21 Mar 2022 17:17:53 +0000 Subject: [PATCH] doc: release-notes: Add mcumgr file status, file hash/checksum details This adds release notes for the new file status and file hash/checksum mcumgr fs commands. Signed-off-by: Jamie McCrae --- doc/releases/release-notes-3.1.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/releases/release-notes-3.1.rst b/doc/releases/release-notes-3.1.rst index 7516082e47c..13a30187ca5 100644 --- a/doc/releases/release-notes-3.1.rst +++ b/doc/releases/release-notes-3.1.rst @@ -192,6 +192,21 @@ Libraries / Subsystems * Added support for MCUMGR Parameters command, which can be used to obtain MCUMGR parameters; :kconfig:option:`CONFIG_OS_MGMT_MCUMGR_PARAMS` enables the command. + * Added mcumgr fs handler for getting file status which returns file size; + controlled with :kconfig:option:`CONFIG_FS_MGMT_FILE_STATUS` + * Added mcumgr fs handler for getting file hash/checksum, with support for + IEEE CRC32 and SHA256, the following Kconfig options have been added to + control the addition: + + * :kconfig:option:`CONFIG_FS_MGMT_CHECKSUM_HASH` to enable the command; + * :kconfig:option:`CONFIG_FS_MGMT_CHECKSUM_HASH_CHUNK_SIZE` that sets size + of buffer (stack memory) used for calculation: + + * :kconfig:option:`CONFIG_FS_MGMT_CHECKSUM_IEEE_CRC32` enables support for + IEEE CRC32. + * :kconfig:option:`CONFIG_FS_MGMT_HASH_SHA256` enables SHA256 hash support. + * When hash/checksum query to mcumgr does not specify a type, then the order + of preference (most priority) is CRC32 followed by SHA256. HALs ****