Skip to content

v0.19.0 - Terminal, Better Install, Better Typing

Compare
Choose a tag to compare
@BrianPugh BrianPugh released this 05 Mar 18:39
d5de3b2

Features

  • Inclusion of an interactive terminal (wrapper for pyserial's miniterm):
    • The Device class now has a method terminal() that will start a blocking interactive terminal.
    • New command: belay terminal [port] to open up an interactive terminal with the device.
  • Improvements to belay install:
    • If --main my_script.py is specified, device will now restart after installation so that the script will automatically execute.
    • New flag --follow: after flashing, the output of the main script will be monitored and printed to stdout. Press ctrl-c to exit.

Bug Fixes

  • belay install [PORT] --main script.py now correctly renames the specified script to main.py on-device.
  • Improved Typing.

Full Changelog: v0.18.4...v0.19.0