devkit-flash: Allow for configureable number of retries
The main purpose of this is to allow infinite retries. The discussion on the community channel revealed that people will have connectivity problems. This solution is not perfect for unreliable connections, but it's better. Perhaps the ideal solution would be to leave the file between runs and let the user control when to download (data caps, offline periods, etc).
Showing with 22 additions and 13 deletions