BetaRavener / uPyLoader

File transfer and communication tool for MicroPython boards
MIT License
354 stars 77 forks source link

Connection bugs #26

Closed jdeltoft closed 7 years ago

jdeltoft commented 7 years ago

This is some minor clean up for some connection error cases. First off, I added a new "connecting..." state (blue color) to show the user something is in progress. Then I fixed the error cases (compile error, mpy file attempting to be compiled, or connection to valid COM port that is connected but NOT to a real device) and made the execution avoid trying to auto transfer any files (if auto transfer was selected) or from checking if the init scripts are valid in the case that you're not connected to a valid COM device.

I also added some port refresh commands which are nice if you have a preferred port set. They will update the com port to the preferred port if it exists and you fell into an error case.

And I updated .gitignore for my .swp vim files

jdeltoft commented 7 years ago

Oh, and you can delete my other two branches now:

remotes/upstream/jdeltoft-FileListImprovement remotes/upstream/jdeltoft-master

These are no longer useful for anything.

BetaRavener commented 7 years ago

Looks good to me, thanks for adding those 👍

jdeltoft commented 7 years ago

Did you see my note also that you can also delete those other two branches now?

jdeltoft commented 7 years ago

oh, nevermind. I needed to run "git fetch -p upstream"