Skip to content
Discussion options

You must be logged in to vote

pyboard.py is a library for interacting with connected boards, as well as a rudimentary command line interface.
mpremote uses pyboard.py in order to provide a much more complete command line interface.

If you install mpremote from pip, you also get pyboard, so even if you just want to remote control your board from Python, you can make mpremote a project dependency and just use the pyboard module.

I do not recommend using mpremote via subprocess! Everything you need should be available from pyboard.py.

FWIW, I just sent a PR to add some additional functionality that might be useful when using pyboard.py as a library. #10286

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@saraverbeecke
Comment options

Answer selected by saraverbeecke
Comment options

You must be logged in to vote
3 replies
@Josverl
Comment options

Josverl Jul 29, 2023
Collaborator Sponsor

@jimmo
Comment options

@ubidefeo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tools Relates to tools/ directory in source, or other tooling
4 participants