Skip to content

Commit b897746

Browse files
mattia-moffadanielinux
authored andcommitted
Add note about image header size in signing tool
1 parent 6fc2ad5 commit b897746

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/STM32-TZ.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ bytes (256×4). As a result, in this case `IMAGE_HEADER_SIZE` must be set to
4848
This detail is already taken care of in the configuration files provided in
4949
`config/examples`.
5050

51+
In addition to this, when using the signing tool standalone the appropriate
52+
image header size must be supplied as an environment variable. For example:
53+
54+
```
55+
IMAGE_HEADER_SIZE=1024 ./tools/keytools/sign --sha256 --ecc256 myapp.bin wolfboot_signing_private_key.der 1
56+
```
57+
5158
### Example using STM32L552
5259

5360
- Copy the example configuration for STM32-L5 with support for wolfCrypt in

0 commit comments

Comments
 (0)