Skip to content
Commit 79c284b0 authored by Lucian Zala's avatar Lucian Zala Committed by Jamie
Browse files

scripts: imgtool: Fix img verify for hex file format



Currently imgtool --verify fails for hex files with:

Invalid image magic; is this an MCUboot image?

Added support for hex files by converting hex to bin
using IntelHex::tobinstr().

Reusing image.load() needs a bit of rework, maybe a
common load method will be done in the future,

Signed-off-by: default avatarLucian Zala <zala.lucian@gmail.com>
parent a4eda30f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment