Skip to content

Releases: cortexm/mpytool

v2.3.6

05 Mar 16:33

Choose a tag to compare

Bugfixes:

  • mpy-cross dependeny
  • find mpy-cross in same venv
  • reset MCU before cli and integration tests

v2.3.5

04 Mar 12:12

Choose a tag to compare

Bugfixes:

  • mount vfs - timeout on read from device
  • exit raw repl before close

v2.3.4

03 Mar 07:55

Choose a tag to compare

New Features

  • ports command - list connected serial ports with device descriptions

Improvements

  • exec/run - streaming output during execution (see output progressively, not just at the end)
  • monitor - automatic exit on device disconnect

Infrastructure

  • Repository moved to cortexm organization

v2.3.3

27 Feb 20:13

Choose a tag to compare

Bug fixes:

  • Fix serial port race condition on Windows (#7)
  • Fix symlink resolution pre /dev/serial/by-id cesty (Linux)
  • Fix USB-UART (CP2102) stav pri close na Linuxe
  • Fix CRLF v readline (mount VFS)

Improvements:

  • Reworked logger (SimpleColorLogger)
  • Automatic chunk size cleanup
  • Fixed CLI tests for Windows

CI:

  • GitHub Actions integration tests workflow
  • Self-hosted runner (Linux + Windows VM)

v2.3.2

23 Feb 21:52

Choose a tag to compare

  • reworked reset dtr/rts with chip detection #6
  • backslash path on windows platform #5
  • added cli tests
  • fixed exit status

v2.3.1

22 Feb 10:34

Choose a tag to compare

  • improved/cleaned verbose output

v2.3.0 - mount

21 Feb 14:58

Choose a tag to compare

New Commands

  • mount - Mount local directory as VFS on device (/remote)
    • Read/write support
    • Mpy-cross integration - transparently serve compiled .mpy instead of .py
    • Virtual symlinks (ln) - add submounts into mounted VFS
    • Multiple simultaneous mounts with auto-recovery after soft reset
    • Full file operations: seek, readline, rename
    • CWD automatically changes to mountpoint; preserved on soft reset
  • edit - Edit files on device using local editor ($VISUAL/$EDITOR)
  • rtc - RTC management - get/set time, sync with host
  • path - View or modify sys.path on device
  • stop - Stop running code on device

Flash Commands

  • ota moved under flash subcommand (flash ota)

Code Refactoring

  • Declarative command definitions with decorators
  • Extracted cmd_cp.py module
  • Argparse subparsers with dynamic completion
  • Public API for mpy-cross detect methods
  • Default exec timeout=None

Many bug fixes

v2.2.4 mpy-cross copy

12 Feb 20:11

Choose a tag to compare

New features:

  • cp -m - compile .py to .mpy via mpy-cross and copy to device

v2.2.3

11 Feb 10:53

Choose a tag to compare

New features:

  • run - direct run python script on device
  • speedtest - test link speed

Bugfixes:

  • increased timeout for writing many files in to device when FLASH memory is slow.

v2.2.2

07 Feb 15:02

Choose a tag to compare

  • Less verbose output
  • Better error handling