Skip to content
Snippets Groups Projects
Commit 441749d9 authored by Antonio Borneo's avatar Antonio Borneo Committed by Patrick Delaunay
Browse files

tools: mkimage: fix STM32 image format for big endian hosts


Two header fields are not properly converted to little endian
before assignment, resulting in incorrect header while executing
mkimage on big endian hosts.

Convert the value of the header fields image_checksum and
edcsa_algorithm to little endian before the assignment.

Signed-off-by: default avatarAntonio Borneo <antonio.borneo@st.com>
Reviewed-by: default avatarPatrick DELAUNAY <patrick.delaunay@st.com>
Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent cf0818b4
No related branches found
Tags LABEL_2004_03_12_0130
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment