Make delay before uploading files configurable#142
Conversation
vlasovskikh
left a comment
There was a problem hiding this comment.
Thanks for your PR!
I'd actually prefer a different approach easier for the users. It would be cooler to make the delay auto-adjustable based on errors in communicating with the device, so that the user doesn't have to adjust it manually. You can start with 0.5, then on error re-retry with some delay, then do it again a few times.
Where is the microupload.py file? Cant seem to find it |
|
2 years on and this is still an issue, I just had to go into the micropython.py file and change the sleep value which really isn't ideal since this script is not version controlled and is just part of 3rd party libraries... |
Sometimes MicroPython firmware can send a lot of additional information on startup (e.g.
esp32-idf3-20200902-v1.13.bin). Such behavior breaks microupload.py since the hardcoded half-second is not enough.This PR adds an additional option to the
Settingspane that lets you modify board detection delay.