Best way to not block uploads from Atom
-
Hi world,
I am using Atom/USB to upload code to my Wipy 3.0. Everything works fine except when my code is sleeping (which is pretty frequent), during which the upload attempt times out.
I have tried with the following sleep function but the result is the same:
def sleep(dur): timeRemaining = math.ceil(1000000.0 * dur) start = time.ticks_us() while time.ticks_diff(start, time.ticks_us()) < timeRemaining: machine.idle()Does anyone have any better ideas?
-
There is a new feature in pymakr to do a safeboot before each upload, this really helps reduce issues like this
-
I thought pymakr was obsolete and atom was the new editor of choice.
-
@blindman2k I guess @seb is talking about the pymakr plug-in fo Atom and VSC. And also I guess the new "feature" is forcing a safe boot with Ctrl-F. Why the hell Ctrl-F? And why hardwired and not configurable?
-
@robert-hh said in Best way to not block uploads from Atom:
And why hardwired and not configurable?
I just talked to Daniel I'm merging your PR into our private repo now so hopefully we'll have this in the next release.
-
@xykon Thanks. Even if I'm a little bit self-confident, please give it a second thought and a second test.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login