Skip to content

Commit b83ec98

Browse files
theotherjimmyadbridge
authored andcommitted
Prevent jump address conflicts in bootloader modes
1 parent b85807a commit b83ec98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/build_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ def merge_region_list(region_list, destination, padding=b'\xFF'):
439439
if region.filename:
440440
print(" Filling region %s with %s" % (region.name, region.filename))
441441
part = intelhex_offset(region.filename, offset=region.start)
442+
part.start_addr = None
442443
part_size = (part.maxaddr() - part.minaddr()) + 1
443444
if part_size > region.size:
444445
raise ToolException("Contents of region %s does not fit"

0 commit comments

Comments
 (0)