Releases: cortexm/mpytool
Releases · cortexm/mpytool
v2.2.1 Windows support
v2.2.1
v2.2.0 Remote path cleanup
- All remote paths must starts with
: - copy default to CWD not to root folder
/ - New commands
cdandpwdfor CWD control. - Reduced commands only one reset with parameters like --machine, --raw, ..
- Error handling and code cleanup
- Added more tests
v2.1 Faster, Shell completion, FLASH and OTA commands
New Features
- Flash/partition operations - flash list|read|write|erase for RP2 and ESP32
- OTA firmware update - ota command for ESP32
- Compression support - automatic deflate compression (-z/--no-compress)
- Auto chunk size detection - 512B-32KB based on device free RAM
- Reset commands - reset, sreset, mreset, rtsreset, bootloader, dtrboot
- Batch file info - faster skip-unchanged detection with prefetch
- Shell completions - ZSH and Bash with remote path completion
- sleep command - pause between commands
- Filesystem detection - FAT12/16/32, LittleFS from magic bytes
- Raw-paste mode - optimized code transfer with flow control
- --exclude with wildcard support - exclude files/dirs using patterns (.pyc, .)
Bug Fixes
- Fixed busy-loop on device disconnect in repl and monitor commands
- Fixed monitor crash on disconnect - catches OSError and exits gracefully
- Fixed path normalization - cp . :/ shows correct paths
Improvements
- Exclude applies to files and directories (not just directories)
- Empty directories are not created when all files are excluded
- Shell completion works with multiple devices and -p port argument
- Human readable sizes in ls and tree
- Device info shows MAC address and serial number
v2.0.0 - New commands and faster
New Features
cpcommand - unified copy with : prefix for device paths (cp file.py :/,cp :/ ./backup/)mvcommand - move/rename files on deviceinfocommand - display device information (platform, memory, flash usage)execcommand - execute Python code on device- Skip unchanged files - automatically skips files with same size and SHA256 hash (use
-fto force) - TCP connection support - connect over network (
-a 192.168.1.100) - Auto port detection - automatically finds serial port if only one device connected
- Progress indicator - shows file count and transfer progress ([3/10] 50% file.py)
- --quiet mode - suppress all output
Performance
- 2-3x faster file transfers (optimized serial communication)
- 4x faster re-uploads by skipping unchanged files
Improvements
- Better connection handling for USB/serial converters that reset on connect
- Improved error messages and debug output (
-d,-dd,-ddd) - Proper NO_COLOR and non-TTY support
- New rm alias for delete
Bug Fixes
- Fixed
--exclude-dirsoption - Fixed connection stability issues
- Fixed error handling for missing serial ports