Skip to content

Commit d04d588

Browse files
Merge pull request #4276 from nvlsianpu/patch-1
avoid 03/05 intel-hex records for nordic devices
2 parents 6aca976 + c64d2f4 commit d04d588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/targets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ def binary_hook(t_self, resources, _, binf):
490490
binh.merge(blh)
491491

492492
with open(binf.replace(".bin", ".hex"), "w") as fileout:
493-
binh.tofile(fileout, format='hex')
493+
binh.write_hex_file(fileout, write_start_addr=False)
494494

495495
class NCS36510TargetCode:
496496
@staticmethod

0 commit comments

Comments
 (0)