thedjnK / AuTerm

AuTerm (for autonomous terminal) offers a free extensible feature rich terminal utility created in Qt
GNU General Public License v3.0
25 stars 7 forks source link

Update mcumgr sha256 extraction #6

Closed jomigo96 closed 1 year ago

jomigo96 commented 1 year ago

Description

Updates mcumgr plugin on file upload - it looks for the SHA256 starting from the end of the file, but this does not work if the image already includes the trailer.

With Zephyr for example, generating a pre-confirmed binary will add the trailer (with the imgtool --confirm option).

Proposal

Read header and image size to determine where to start looking for TLVs.

jomigo96 commented 1 year ago

It looks like there is no develop branch to target