- cli: guess /dev/tty device by ending of
-t
argument- searches for files that start with
/dev/tty
and end with the argument - eg.
mctl ls -t USB0
uses/dev/ttyUSB0
- so does
mctl ls -t 0
- searches for files that start with
- end repl fix
- more debug output
putFile
: run gc.collect by default- added
main.gcCollect()
- should help with out-of-memory issues with larger file uploads (mctl sync)
- Proxy mode also works with webrepl/network connection
mctl sync
: synchronize a directory onto the device. checks file hashes and only uploads changed ones, deletes removed one.listFiles
can now include sha256 hash (alsomctl ls --include-hash
)mctl put
:--changed-only
flag to check hash and upload only if changed (useful for large files, downside it needs to calculate the hash before uploading)mctl repl
opens a webserver allowing othermctl
processes to reuse that session for running scripts- connect bugfix (implemented
readUntil
) - major
runScript
speed improvements (tests run in 10s, before 16s)
- fix for
mctl rm / -r
(threw an error on some devices)
- Establishing a connection doesn't kill running MicroPython process (eg.
mctl repl
, etc.) ls
with JSON outputrunScript
options:runGcCollectBeforeCommand
- various smaller fixes and improvements
- First feature-complete, allround tested version.
mctl
works on Windows, Linux and macOS!- See also https://github.com/metachris/micropython-ctl