Skip to content

Commit 4ad8ce0

Browse files
committed
Prevent jump address conflicts in bootloader modes
1 parent 30e39ee commit 4ad8ce0

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
@@ -434,6 +434,7 @@ def merge_region_list(region_list, destination, notify, padding=b'\xFF'):
434434
if region.filename:
435435
notify.info(" Filling region %s with %s" % (region.name, region.filename))
436436
part = intelhex_offset(region.filename, offset=region.start)
437+
part.start_addr = None
437438
part_size = (part.maxaddr() - part.minaddr()) + 1
438439
if part_size > region.size:
439440
raise ToolException("Contents of region %s does not fit"

0 commit comments

Comments
 (0)