mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Merge pull request #6885 from theotherjimmy/fix-startaddr-conflict
BL mode: Prevent jump address conflictspull/6836/merge
						commit
						0fd5447ff7
					
				| 
						 | 
				
			
			@ -438,6 +438,7 @@ def merge_region_list(region_list, destination, notify, padding=b'\xFF'):
 | 
			
		|||
        if region.filename:
 | 
			
		||||
            notify.info("  Filling region %s with %s" % (region.name, region.filename))
 | 
			
		||||
            part = intelhex_offset(region.filename, offset=region.start)
 | 
			
		||||
            part.start_addr = None
 | 
			
		||||
            part_size = (part.maxaddr() - part.minaddr()) + 1
 | 
			
		||||
            if part_size > region.size:
 | 
			
		||||
                raise ToolException("Contents of region %s does not fit"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue