We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f9d07f3 + 6815409 commit d478d6bCopy full SHA for d478d6b
tools/build_api.py
@@ -388,7 +388,7 @@ def _fill_header(region_list, current_region):
388
else:
389
ih = intelhex_offset(region_dict[data].filename, offset=region_dict[data].start)
390
if subtype.startswith("CRCITT32"):
391
- fmt = {"CRCITT32be": ">l", "CRCITT32le": "<l"}[subtype]
+ fmt = {"CRCITT32be": ">L", "CRCITT32le": "<L"}[subtype]
392
header.puts(start, struct.pack(fmt, zlib.crc32(ih.tobinarray())))
393
elif subtype.startswith("SHA"):
394
if subtype == "SHA256":
0 commit comments