I'd like to be able to control my Micropython's REPL from my PC.
Initially this is just going to do some trivial stuff (e.g. execute some python), but once I get the basics sorted I'd like to make a tool that automates deploying and testing of code to the pyboard.
I was able to write a few bytes to the board (visible when I manually connect to the repl), but I was not able to actually execute a statement.
Controlling the micropython repl from Python with PySerial
-
- Posts: 1
- Joined: Fri Aug 09, 2019 2:54 am
Re: Controlling the micropython repl from Python with PySerial
Look at pyboard.py in the tools directory of the repository. That offers what you need.
https://github.com/micropython/micropyt ... ster/tools
https://github.com/micropython/micropyt ... ster/tools