mirror of
				https://github.com/ARM-software/devlib.git
				synced 2025-10-31 14:01:20 +00:00 
			
		
		
		
	modules/flash: Add a connect parameter to the flash method
				
					
				
			Adds a `connect` parameter to the flash method to specifiy whether devlib should attempt to connect to the target after flashing has completed.
This commit is contained in:
		| @@ -322,7 +322,7 @@ FlashModule | ||||
|  | ||||
|     "flash" | ||||
|  | ||||
| .. method:: __call__(image_bundle=None, images=None, boot_config=None) | ||||
| .. method:: __call__(image_bundle=None, images=None, boot_config=None, connect=True) | ||||
|  | ||||
|     Must be implemented by derived classes. | ||||
|  | ||||
| @@ -338,6 +338,7 @@ FlashModule | ||||
|     :param boot_config: Some platforms require specifying boot arguments at the | ||||
|                         time of flashing the images, rather than during each | ||||
|                         reboot. For other platforms, this will be ignored. | ||||
|     :connect: Specifiy whether to try and connect to the target after flashing. | ||||
|  | ||||
|  | ||||
| Module Registration | ||||
|   | ||||
		Reference in New Issue
	
	Block a user