Skip to content

Commit 4e6b830

Browse files
committed
Allow hex BL, SD and application merging
1 parent fcfe6e1 commit 4e6b830

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/targets/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,11 +513,13 @@ def binary_hook(t_self, resources, _, binf):
513513
t_self.notify.debug("Merge SoftDevice file %s"
514514
% softdevice_and_offset_entry['name'])
515515
sdh = IntelHex(sdf)
516+
sdh.start_addr = None
516517
binh.merge(sdh)
517518

518519
if t_self.target.MERGE_BOOTLOADER is True and blf is not None:
519520
t_self.notify.debug("Merge BootLoader file %s" % blf)
520521
blh = IntelHex(blf)
522+
blh.start_addr = None
521523
binh.merge(blh)
522524

523525
with open(binf.replace(".bin", ".hex"), "w") as fileout:

0 commit comments

Comments
 (0)