Skip to content
Discussion options

You must be logged in to vote

The intended way for the upload run configurations to be used is for you to have logic that starts your code (your main loop) in the "main.py" file, which gets executed every time the MicroPython device starts up by the MicroPython port.

With the reset on success upload option enabled in the run configuration's settings, you'll upload your code to the device and start it right away in one click.

If you have a reason to not use main.py, then using an execute and upload run configuration and chaining them in before launch tasks is the only way to achieve the same one click behavior.

It's unlikely that the device reset should interfere with this (it can also be disabled by unchecking reset o…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by martiby
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants