Skip to content

Commit 57cefda

Browse files
theotherjimmymbolivar-nordic
authored andcommitted
samples: psa-firmware: Document purpose of split-header.py
This should provide context to this small python script Signed-off-by: Jimmy Brisson <[email protected]>
1 parent 6ec7e7b commit 57cefda

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

samples/tfm_integration/psa_firmware/split-header.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
# Copyright (c) 2022, Linaro
44
#
55
# SPDX-License-Identifier: Apache-2.0
6+
"""
7+
Split a hex file signed by imagetool into its binary/image and
8+
its header. This is needed to be able to pack these two parts
9+
into the sample separately, saving flash space.
10+
"""
611
import argparse
712

813
from intelhex import IntelHex

0 commit comments

Comments
 (0)