Skip to content

Commit c64d2f4

Browse files
authored
avoid 03/05 intel-hex records for nordics devices
use Intelhex::write_hex_file instead of IntelHex::tofile
1 parent 8543279 commit c64d2f4

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)