Closed
Description
Hi,
This seems quite large and also outside the range of the pack format in image.py. Result:
self.add_header(enckey, protected_tlv_size)
File "/home/andy/code/dbc/test/tools/provisioning/.venv/lib/python3.12/site-packages/imgtool/image.py", line 573, in add_header
header = struct.pack(fmt,
^^^^^^^^^^^^^^^^
struct.error: 'H' format requires 0 <= number <= 65535
Using 0x2000 (assuming the doc had an extra zero) doesn't result in an error. I've not tested the upload yet.
Documentation: https://github.com/arduino/mcuboot-arduino-stm32h7?tab=readme-ov-file#manually-create-a-signed-and-encrypted-update-sketch
I am using the imagetool installed via pip. However. I note the same H format on the mcuboot scripts version.
Metadata
Metadata
Assignees
Labels
No labels