mpremote

since 2021-08-24

micropython

https://pypi.org/project/mpremote/

オプションなしだと最初に見つけたポートにつないでしまう

> mpremote connect list
COM4 E6609103C3936229 0005:2e8a Microsoft None
COM6 DB00IPGHA 6015:0403 FTDI None
> mpremote connect COM6
Connected to MicroPython at COM6
Use Ctrl-] to exit this shell

> mpremote connect COM4
Connected to MicroPython at COM4
Use Ctrl-] to exit this shell

> mpremote connect COM4 repl と上記は等価。

ポートを指定してデバイスのファイルを操作する

> mpremote connect COM4 fs rm :main.py
mpremote.txt · 最終更新: 2021/08/24 12:17 by Takuya Nishimoto
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0