Skip to content

Commit 4532e41

Browse files
author
Cruz Monrreal
authored
Merge pull request #9781 from vmedcy/psoc6-hex-align
PSOC6: correctly align hex files with split text sections
2 parents d0881ad + 534becb commit 4532e41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/targets/PSOC6.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def patch(message_func, ihex, hexf, align=256):
9696
aligned_end += align
9797
message_func("Aligning end from 0x%x to 0x%x" % (end, aligned_end))
9898
alignments.frombytes(ihex.tobinarray(end, aligned_end - 1), end)
99-
ihex.merge(alignments)
99+
ihex.merge(alignments, 'ignore')
100100

101101
def merge_images(hexf0, hexf1=None):
102102
ihex = IntelHex()

0 commit comments

Comments
 (0)